RestrictChildrenAttribute(String, String[]) 생성자

정의

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

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())

매개 변수

childTag
String

자식으로 허용되는 요소의 태그 이름입니다.

childTags
String[]

자식으로 허용되는 요소의 추가 이름입니다.

적용 대상