RestrictChildrenAttribute Class
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.
Restricts children of the ITagHelper's element.
public ref class RestrictChildrenAttribute : Attribute
public ref class RestrictChildrenAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public class RestrictChildrenAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public sealed class RestrictChildrenAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
type RestrictChildrenAttribute = class
inherit Attribute
Public Class RestrictChildrenAttribute
Inherits Attribute
Public NotInheritable Class RestrictChildrenAttribute
Inherits Attribute
- Inheritance
-
RestrictChildrenAttribute
- Attributes
Remarks
Combining this attribute with a HtmlTargetElementAttribute that specifies its TagStructure as WithoutEndTag will result in this attribute being ignored.
Constructors
RestrictChildrenAttribute(String, String[]) |
Instantiates a new instance of the RestrictChildrenAttribute class. |
Properties
ChildTags |
Get the names of elements allowed as children. |