HtmlTag Class
The HtmlTag object is the foundation of the HTML document and holds the parsed structure of the document.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Microsoft.VisualStudio.TestTools.WebTesting::HtmlTag
Microsoft.VisualStudio.TestTools.WebTesting::HtmlTagWithOffsets
| Name | Description | |
|---|---|---|
![]() | HtmlTag() | Initializes a new instance of the HtmlTag class. |
| Name | Description | |
|---|---|---|
![]() | Attributes | Gets a collection of attributes associated with the HTML tag. |
![]() | Name | Gets or sets the name of the tag. |
| Name | Description | |
|---|---|---|
![]() | AddAttribute(HtmlAttribute^) | Adds an attribute to the HtmlTag collection. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetAttributeValue(String^) | Gets the value of a specified attribute. |
![]() | GetAttributeValueAsString(String^) | Gets the value of a specified attribute in string format. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
The tag object can represent any valid HTML tag found in the HTML document.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


