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