WebTestResponse.IsHtml Property
Gets a value indicating whether the response body is an HTML document.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property IsHtml As Boolean
'Usage
Dim instance As WebTestResponse
Dim value As Boolean
value = instance.IsHtml
public bool IsHtml { get; }
public:
property bool IsHtml {
bool get ();
}
public function get IsHtml () : boolean
Property Value
Type: System.Boolean
true if the response body is an HTML document; 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.