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
public bool HasHeaders { get; }
public:
property bool HasHeaders {
    bool get ();
}
member HasHeaders : bool
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

Microsoft.VisualStudio.TestTools.WebTesting Namespace