TagHelperOutput.Attributes Propiedad
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í.
Atributos del elemento HTML.
public:
property Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttributeList ^ Attributes { Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttributeList ^ get(); };
public Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList Attributes { get; }
member this.Attributes : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList
Public ReadOnly Property Attributes As TagHelperAttributeList
Valor de propiedad
Comentarios
MVC codificará String valores HTML al generar la etiqueta de inicio. No codificará HTML una Microsoft.AspNetCore.Mvc.Rendering.HtmlString
instancia. MVC convierte la mayoría de los demás tipos en y String, después, HTML codifica el resultado.