RestrictChildrenAttribute 클래스

정의

의 요소의 자식을 ITagHelper제한합니다.

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
상속
RestrictChildrenAttribute
특성

설명

이 특성을 로 지정 TagStructureWithoutEndTag 하는 와 HtmlTargetElementAttribute 결합하면 이 특성이 무시됩니다.

생성자

RestrictChildrenAttribute(String, String[])

RestrictChildrenAttribute 클래스의 새 인스턴스를 인스턴스화합니다.

속성

ChildTags

자식으로 허용되는 요소의 이름을 가져옵니다.

적용 대상