Share via


HtmlTag.Attributes Property

Gets a collection of attributes associated with the HTML tag.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public ReadOnly Property Attributes As IList(Of HtmlAttribute)
public IList<HtmlAttribute> Attributes { get; }
public:
property IList<HtmlAttribute^>^ Attributes {
    IList<HtmlAttribute^>^ get ();
}
member Attributes : IList<HtmlAttribute> with get
function get Attributes () : IList<HtmlAttribute>

Property Value

Type: IList<HtmlAttribute>
A IList object.

Remarks

The IList object has type parameters of string and HtmlAttribute defined for its key/value pair.

.NET Framework Security

See Also

Reference

HtmlTag Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace