次の方法で共有


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
属性

注釈

この属性HtmlTargetElementAttributeを としてTagStructureWithoutEndTag指定する と組み合わせると、この属性は無視されます。

コンストラクター

RestrictChildrenAttribute(String, String[])

RestrictChildrenAttribute クラスの新しいインスタンスを生成します。

プロパティ

ChildTags

子として許可される要素の名前を取得します。

適用対象