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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.