Share via


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

See Also

Reference

WebTestRequest Class

WebTestRequest Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace