TagHelperExecutionContext.AddHtmlAttribute Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AddHtmlAttribute(TagHelperAttribute) |
Rastreia o atributo HTML. |
AddHtmlAttribute(String, Object, HtmlAttributeValueStyle) |
Rastreia o atributo HTML. |
AddHtmlAttribute(TagHelperAttribute)
- Origem:
- TagHelperExecutionContext.cs
- Origem:
- TagHelperExecutionContext.cs
- Origem:
- TagHelperExecutionContext.cs
Rastreia o atributo 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)
Parâmetros
- attribute
- TagHelperAttribute
O TagHelperAttribute a ser rastreado.
Aplica-se a
AddHtmlAttribute(String, Object, HtmlAttributeValueStyle)
- Origem:
- TagHelperExecutionContext.cs
- Origem:
- TagHelperExecutionContext.cs
- Origem:
- TagHelperExecutionContext.cs
Rastreia o atributo 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)
Parâmetros
- name
- String
O nome do atributo HTML.
- value
- Object
O valor do atributo HTML.
- valueStyle
- HtmlAttributeValueStyle
O estilo de valor do atributo.
Aplica-se a
Comentários
https://aka.ms/ContentUserFeedback.
Brevemente: Ao longo de 2024, vamos descontinuar progressivamente o GitHub Issues como mecanismo de feedback para conteúdos e substituí-lo por um novo sistema de feedback. Para obter mais informações, veja:Submeter e ver comentários