TagHelperExecutionContext.AddTagHelperAttribute Metoda

Definice

Přetížení

AddTagHelperAttribute(TagHelperAttribute)

Sleduje vázaný ITagHelper atribut.

AddTagHelperAttribute(String, Object, HtmlAttributeValueStyle)

Sleduje vázaný ITagHelper atribut.

AddTagHelperAttribute(TagHelperAttribute)

Sleduje vázaný ITagHelper atribut.

public:
 void AddTagHelperAttribute(Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttribute ^ attribute);
public void AddTagHelperAttribute (Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute attribute);
member this.AddTagHelperAttribute : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute -> unit
Public Sub AddTagHelperAttribute (attribute As TagHelperAttribute)

Parametry

attribute
TagHelperAttribute

Vázaný atribut.

Platí pro

AddTagHelperAttribute(String, Object, HtmlAttributeValueStyle)

Sleduje vázaný ITagHelper atribut.

public:
 void AddTagHelperAttribute(System::String ^ name, System::Object ^ value, Microsoft::AspNetCore::Razor::TagHelpers::HtmlAttributeValueStyle valueStyle);
public void AddTagHelperAttribute (string name, object value, Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle valueStyle);
member this.AddTagHelperAttribute : string * obj * Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle -> unit
Public Sub AddTagHelperAttribute (name As String, value As Object, valueStyle As HtmlAttributeValueStyle)

Parametry

name
String

Název vázaného atributu.

value
Object

Hodnota atributu.

valueStyle
HtmlAttributeValueStyle

Styl hodnoty atributu.

Platí pro