Share via


WebTestResponse.XmlDocument Property

Gets a XmlDocument representing the response body if the content type indicated the response was XML.

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

Syntax

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

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

Property Value

Type: System.Xml.XmlDocument
A XmlDocument object. Returns nulla null reference (Nothing in Visual Basic) if this is not an XML response.

.NET Framework Security

See Also

Reference

WebTestResponse Class

WebTestResponse Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace