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.

HtmlDocument Class

 

Provides access to the set of HTML tags in an HTML response body.

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

System::Object
  Microsoft.VisualStudio.TestTools.WebTesting::HtmlDocument

[SerializableAttribute]
public ref class HtmlDocument 

NameDescription
System_CAPS_pubmethodHtmlDocument(Uri^, String^)

Initializes a new instance of the HtmlDocument class. This constructor takes a string and uses it as the document.

NameDescription
System_CAPS_pubpropertyDependentRequestUrls

Gets the URLs for dependent requests found in the HTML document.

System_CAPS_pubpropertyHtmlTags

Gets all the tags that are available in the document.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetFilteredHtmlTags(array<String^>^)

Parses HtmlDocument and returns an iterator with all the HTML tags found that match the tags that are contained in the tagFilter array.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSetParserOffsetTracking(Boolean)

Sets the parser mode for tracking tag and attribute value offsets.

System_CAPS_pubmethodToString()

(Inherited from Object.)

This is used by extraction and validation rules to access the contents of an 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: