TagHelperExecutionContext.AddHtmlAttribute Metoda

Definice

Přetížení

AddHtmlAttribute(TagHelperAttribute)

Sleduje atribut HTML.

AddHtmlAttribute(String, Object, HtmlAttributeValueStyle)

Sleduje atribut HTML.

AddHtmlAttribute(TagHelperAttribute)

Sleduje atribut HTML.

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

Parametry

attribute
TagHelperAttribute

To TagHelperAttribute se má sledovat.

Platí pro

AddHtmlAttribute(String, Object, HtmlAttributeValueStyle)

Sleduje atribut HTML.

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

Parametry

name
String

Název atributu HTML.

value
Object

Hodnota atributu HTML.

valueStyle
HtmlAttributeValueStyle

Styl hodnoty atributu.

Platí pro