Partager via


HtmlTargetElementAttribute Constructeurs

Définition

Surcharges

HtmlTargetElementAttribute()

Instancie une nouvelle instance de la HtmlTargetElementAttribute classe qui cible tous les éléments HTML avec le requis Attributes.

HtmlTargetElementAttribute(String)

Instancie une nouvelle instance de la HtmlTargetElementAttribute classe avec le donné tag comme Tag valeur.

HtmlTargetElementAttribute()

Source:
HtmlTargetElementAttribute.cs
Source:
HtmlTargetElementAttribute.cs
Source:
HtmlTargetElementAttribute.cs

Instancie une nouvelle instance de la HtmlTargetElementAttribute classe qui cible tous les éléments HTML avec le requis Attributes.

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

Remarques

Tag a la valeur *.

S’applique à

HtmlTargetElementAttribute(String)

Source:
HtmlTargetElementAttribute.cs
Source:
HtmlTargetElementAttribute.cs
Source:
HtmlTargetElementAttribute.cs

Instancie une nouvelle instance de la HtmlTargetElementAttribute classe avec le donné tag comme Tag valeur.

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)

Paramètres

tag
String

Balise HTML les ITagHelper cibles.

Remarques

Une *tag valeur indique que cela ITagHelper cible tous les éléments HTML avec le requis Attributes.

S’applique à