TagHelperOutput.Attributes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The HTML element's attributes.
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
Property Value
Remarks
MVC will HTML encode String values when generating the start tag. It will not HTML encode a Microsoft.AspNetCore.Mvc.Rendering.HtmlString
instance. MVC converts most other types to a String, then HTML encodes the result.
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: