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
- 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.