Share via


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

See Also

Reference

WebTestRequest Class

WebTestRequest Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace