Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HtmlTag Class

 

The HtmlTag object is the foundation of the HTML document and holds the parsed structure of the document.

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


public class HtmlTag

NameDescription
System_CAPS_pubmethodHtmlTag()

Initializes a new instance of the HtmlTag class.

NameDescription
System_CAPS_pubpropertyAttributes

Gets a collection of attributes associated with the HTML tag.

System_CAPS_pubpropertyName

Gets or sets the name of the tag.

NameDescription
System_CAPS_pubmethodAddAttribute(HtmlAttribute)

Adds an attribute to the HtmlTag collection.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetAttributeValue(String)

Gets the value of a specified attribute.

System_CAPS_pubmethodGetAttributeValueAsString(String)

Gets the value of a specified attribute in string format.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: