WebTestRequest.Cookies Property
Gets a collection of cookies.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property Cookies As CookieCollection
'Usage
Dim instance As WebTestRequest
Dim value As CookieCollection
value = instance.Cookies
instance.Cookies = value
public CookieCollection Cookies { get; internal set; }
public:
property CookieCollection^ Cookies {
CookieCollection^ get ();
void set (CookieCollection^ value);
}
public function get Cookies () : CookieCollection
public function set Cookies (value : CookieCollection)
Property Value
Type: System.Net.CookieCollection
A CookieCollection 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.