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
public XmlDocument XmlDocument { get; }
public:
property XmlDocument^ XmlDocument {
    XmlDocument^ get ();
}
member XmlDocument : XmlDocument with get
function get XmlDocument () : XmlDocument

Property Value

Type: 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

Microsoft.VisualStudio.TestTools.WebTesting Namespace