TagHelperExecutionContext.AddHtmlAttribute Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
AddHtmlAttribute(TagHelperAttribute) |
Realiza un seguimiento del atributo HTML. |
AddHtmlAttribute(String, Object, HtmlAttributeValueStyle) |
Realiza un seguimiento del atributo HTML. |
AddHtmlAttribute(TagHelperAttribute)
- Source:
- TagHelperExecutionContext.cs
- Source:
- TagHelperExecutionContext.cs
- Source:
- TagHelperExecutionContext.cs
Realiza un seguimiento del 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
que TagHelperAttribute se va a realizar.
Se aplica a
AddHtmlAttribute(String, Object, HtmlAttributeValueStyle)
- Source:
- TagHelperExecutionContext.cs
- Source:
- TagHelperExecutionContext.cs
- Source:
- TagHelperExecutionContext.cs
Realiza un seguimiento del 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
Nombre del atributo HTML.
- value
- Object
Valor del atributo HTML.
- valueStyle
- HtmlAttributeValueStyle
Estilo de valor del atributo.
Se aplica a
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de