WebTestResponse.IsXml Property

Gets a value that indicates whether the response is XML.

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

Syntax

'Declaration
Public ReadOnly Property IsXml As Boolean
'Usage
Dim instance As WebTestResponse 
Dim value As Boolean 

value = instance.IsXml
public bool IsXml { get; }
public:
property bool IsXml {
    bool get ();
}
public function get IsXml () : boolean

Property Value

Type: System.Boolean
true if the response content type is "text/xml", "application/xml", or "application/xhtml+xml"; otherwise, false.

.NET Framework Security

See Also

Reference

WebTestResponse Class

WebTestResponse Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace