WebTestRequest.HasCookies Property

Gets a value that indicates whether the request has cookies.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public ReadOnly Property HasCookies As Boolean
public bool HasCookies { get; }
public:
property bool HasCookies {
    bool get ();
}
member HasCookies : bool
function get HasCookies () : boolean

Property Value

Type: System.Boolean
true if the request has cookies; otherwise, false.

.NET Framework Security

See Also

Reference

WebTestRequest Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace