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
public bool IsXml { get; }
public:
property bool IsXml {
bool get ();
}
member IsXml : bool with get
function get IsXml () : boolean
Property Value
Type: 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.