Freigeben über


WebTestRequest.HasCookies-Eigenschaft

Ruft einen Wert ab, der angibt, ob die Anforderung Cookies hat.

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 with get
function get HasCookies () : boolean

Eigenschaftswert

Typ: System.Boolean
true , wenn die Anforderung Cookies hat, andernfalls false.

.NET Framework-Sicherheit

Siehe auch

Referenz

WebTestRequest Klasse

Microsoft.VisualStudio.TestTools.WebTesting-Namespace