Share via


HtmlTargetElementAttribute Konstruktory

Definice

Přetížení

HtmlTargetElementAttribute()

Vytvoří instanci nové instance HtmlTargetElementAttribute třídy, která cílí na všechny elementy HTML, s požadovaným Attributesobjektem .

HtmlTargetElementAttribute(String)

Vytvoří instanci nové instance HtmlTargetElementAttribute třídy s danou tagTag hodnotou.

HtmlTargetElementAttribute()

Zdroj:
HtmlTargetElementAttribute.cs
Zdroj:
HtmlTargetElementAttribute.cs

Vytvoří instanci nové instance HtmlTargetElementAttribute třídy, která cílí na všechny elementy HTML, s požadovaným Attributesobjektem .

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

Poznámky

Tag je nastavená na *hodnotu .

Platí pro

HtmlTargetElementAttribute(String)

Zdroj:
HtmlTargetElementAttribute.cs
Zdroj:
HtmlTargetElementAttribute.cs

Vytvoří instanci nové instance HtmlTargetElementAttribute třídy s danou tagTag hodnotou.

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

Značka HTML cíle ITagHelper .

Poznámky

Hodnota *tag označuje, že cílí ITagHelper na všechny elementy HTML s požadovaným Attributesobjektem .

Platí pro