Partilhar via


TagHelperExecutionContext.AddTagHelperAttribute Método

Definição

Sobrecargas

AddTagHelperAttribute(TagHelperAttribute)

Rastreia o ITagHelper atributo associado.

AddTagHelperAttribute(String, Object, HtmlAttributeValueStyle)

Rastreia o ITagHelper atributo associado.

AddTagHelperAttribute(TagHelperAttribute)

Origem:
TagHelperExecutionContext.cs
Origem:
TagHelperExecutionContext.cs
Origem:
TagHelperExecutionContext.cs

Rastreia o ITagHelper atributo associado.

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)

Parâmetros

attribute
TagHelperAttribute

O atributo associado.

Aplica-se a

AddTagHelperAttribute(String, Object, HtmlAttributeValueStyle)

Origem:
TagHelperExecutionContext.cs
Origem:
TagHelperExecutionContext.cs
Origem:
TagHelperExecutionContext.cs

Rastreia o ITagHelper atributo associado.

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)

Parâmetros

name
String

O nome do atributo associado.

value
Object

O valor do atributo.

valueStyle
HtmlAttributeValueStyle

O estilo de valor do atributo.

Aplica-se a