RestrictChildrenAttribute(String, String[]) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Instantiates a new instance of the RestrictChildrenAttribute class.
public:
RestrictChildrenAttribute(System::String ^ childTag, ... cli::array <System::String ^> ^ childTags);
public RestrictChildrenAttribute (string childTag, params string[] childTags);
new Microsoft.AspNetCore.Razor.TagHelpers.RestrictChildrenAttribute : string * string[] -> Microsoft.AspNetCore.Razor.TagHelpers.RestrictChildrenAttribute
Public Sub New (childTag As String, ParamArray childTags As String())
Parameters
- childTag
- String
The tag name of an element allowed as a child.
- childTags
- String[]
Additional names of elements allowed as children.