TagHelperExecutionContext.AddTagHelperAttribute 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
AddTagHelperAttribute(TagHelperAttribute) |
Realiza un seguimiento del ITagHelper atributo enlazado. |
AddTagHelperAttribute(String, Object, HtmlAttributeValueStyle) |
Realiza un seguimiento del ITagHelper atributo enlazado. |
AddTagHelperAttribute(TagHelperAttribute)
- Source:
- TagHelperExecutionContext.cs
- Source:
- TagHelperExecutionContext.cs
- Source:
- TagHelperExecutionContext.cs
Realiza un seguimiento del ITagHelper atributo enlazado.
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
Atributo enlazado.
Se aplica a
AddTagHelperAttribute(String, Object, HtmlAttributeValueStyle)
- Source:
- TagHelperExecutionContext.cs
- Source:
- TagHelperExecutionContext.cs
- Source:
- TagHelperExecutionContext.cs
Realiza un seguimiento del ITagHelper atributo enlazado.
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
Nombre del atributo enlazado.
- value
- Object
Valor del atributo.
- 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