HtmlTargetElementAttribute Konstruktory

Definicja

Przeciążenia

HtmlTargetElementAttribute()

Tworzy wystąpienie nowej klasy HtmlTargetElementAttribute , które jest przeznaczone dla wszystkich elementów HTML z wymaganym Attributeselementem .

HtmlTargetElementAttribute(String)

Tworzy wystąpienie nowej klasy HtmlTargetElementAttribute z podaną tag wartością Tag .

HtmlTargetElementAttribute()

Źródło:
HtmlTargetElementAttribute.cs
Źródło:
HtmlTargetElementAttribute.cs

Tworzy wystąpienie nowej klasy HtmlTargetElementAttribute , które jest przeznaczone dla wszystkich elementów HTML z wymaganym Attributeselementem .

public:
 HtmlTargetElementAttribute();
public HtmlTargetElementAttribute ();
Public Sub New ()

Uwagi

Tag jest ustawiona na *wartość .

Dotyczy

HtmlTargetElementAttribute(String)

Źródło:
HtmlTargetElementAttribute.cs
Źródło:
HtmlTargetElementAttribute.cs

Tworzy wystąpienie nowej klasy HtmlTargetElementAttribute z podaną tag wartością Tag .

public:
 HtmlTargetElementAttribute(System::String ^ tag);
public HtmlTargetElementAttribute (string tag);
new Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute : string -> Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElementAttribute
Public Sub New (tag As String)

Parametry

tag
String

Tag HTML ITagHelper obiektów docelowych.

Uwagi

Wartość *tag wskazuje, że dotyczy to ITagHelper wszystkich elementów HTML z wymaganym Attributeselementem .

Dotyczy