Sdílet prostřednictvím


RestrictChildrenAttribute(String, String[]) Konstruktor

Definice

Vytvoří instanci nové instance RestrictChildrenAttribute třídy .

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

Parametry

childTag
String

Název značky elementu povoleného jako podřízený prvek.

childTags
String[]

Další názvy elementů jsou povolené jako podřízené položky.

Platí pro