TagHelperDescriptor.AllowedChildren 属性

定义

获取允许作为子元素的元素的名称。

public:
 property System::Collections::Generic::IEnumerable<System::String ^> ^ AllowedChildren { System::Collections::Generic::IEnumerable<System::String ^> ^ get(); void set(System::Collections::Generic::IEnumerable<System::String ^> ^ value); };
public System.Collections.Generic.IEnumerable<string> AllowedChildren { get; set; }
member this.AllowedChildren : seq<string> with get, set
Public Property AllowedChildren As IEnumerable(Of String)

属性值

注解

null 指示允许所有子项。

适用于