TagHelperOutput.Attributes Vlastnost

Definice

Atributy elementu 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

Hodnota vlastnosti

TagHelperAttributeList

Poznámky

MVC kóduje String hodnoty HTML při generování počáteční značky. Nezakóduje html instanci Microsoft.AspNetCore.Mvc.Rendering.HtmlString . MVC převede většinu dalších typů na Stringkód html a výsledek pak kóduje.

Platí pro