Share via


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

See Also

Reference

WebTestResponse Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace