Share via


WebTestResponse.HtmlDocument Property

Gets the HtmlDocument created by parsing the response body of a response with HTML or XHTML content type.

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

Syntax

'Declaration
Public ReadOnly Property HtmlDocument As HtmlDocument
'Usage
Dim instance As WebTestResponse 
Dim value As HtmlDocument 

value = instance.HtmlDocument
public HtmlDocument HtmlDocument { get; }
public:
property HtmlDocument^ HtmlDocument {
    HtmlDocument^ get ();
}
public function get HtmlDocument () : HtmlDocument

Property Value

Type: Microsoft.VisualStudio.TestTools.WebTesting.HtmlDocument
A HtmlDocument object. This returns nulla null reference (Nothing in Visual Basic) if this is not an HTML response.

.NET Framework Security

See Also

Reference

WebTestResponse Class

WebTestResponse Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace