Share via


WebTestRequest.Headers Property

Gets the collection of HTTP headers for the request.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Property Headers As WebTestRequestHeaderCollection
'Usage
Dim instance As WebTestRequest 
Dim value As WebTestRequestHeaderCollection 

value = instance.Headers

instance.Headers = value
public WebTestRequestHeaderCollection Headers { get; internal set; }
public:
property WebTestRequestHeaderCollection^ Headers {
    WebTestRequestHeaderCollection^ get ();
    void set (WebTestRequestHeaderCollection^ value);
}
public function get Headers () : WebTestRequestHeaderCollection 
public function set Headers (value : WebTestRequestHeaderCollection)

Property Value

Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTestRequestHeaderCollection
A WebTestRequestHeaderCollection collection.

.NET Framework Security

See Also

Reference

WebTestRequest Class

WebTestRequest Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace