Dela 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>
function get Attributes () : IList<HtmlAttribute>

Property Value

Type: System.Collections.Generic.IList<HtmlAttribute>
A IList<T> object.

Remarks

The IList<T> 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