WebTestRequest.HasHeaders Property
Gets a value that indicates whether the request has HTTP headers.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property HasHeaders As Boolean
'Usage
Dim instance As WebTestRequest
Dim value As Boolean
value = instance.HasHeaders
public bool HasHeaders { get; }
public:
property bool HasHeaders {
bool get ();
}
public function get HasHeaders () : boolean
Property Value
Type: System.Boolean
true if the request has HTTP headers; 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.