TagBuilder.Attributes Property
Gets or sets the collection of attributes for the tag.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Property Attributes As IDictionary(Of String, String)
Get
Private Set
public IDictionary<string, string> Attributes { get; private set; }
public:
property IDictionary<String^, String^>^ Attributes {
IDictionary<String^, String^>^ get ();
private: void set (IDictionary<String^, String^>^ value);
}
Property Value
Type: System.Collections.Generic.IDictionary<String, String>
The collection of attributes for the tag.