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
public WebTestRequestHeaderCollection Headers { get; internal set; }
public:
property WebTestRequestHeaderCollection^ Headers {
    WebTestRequestHeaderCollection^ get ();
    internal: void set (WebTestRequestHeaderCollection^ value);
}
member Headers : WebTestRequestHeaderCollection with get, internal set
function get Headers () : WebTestRequestHeaderCollection 
internal function set Headers (value : WebTestRequestHeaderCollection)

Property Value

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

.NET Framework Security

See Also

Reference

WebTestRequest Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace