Freigeben über


CookieExistenceRule.CheckForExistence-Eigenschaft

Ruft den booleschen Indikator ab, der angibt, ob das Cookie vorhanden ist, oder legt ihn fest.

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

Syntax

'Declaration
Public Property CheckForExistence As Boolean
public bool CheckForExistence { get; set; }
public:
property bool CheckForExistence {
    bool get ();
    void set (bool value);
}
member CheckForExistence : bool with get, set
function get CheckForExistence () : boolean 
function set CheckForExistence (value : boolean)

Eigenschaftswert

Typ: Boolean
true , wenn das Cookie vorhanden ist, andernfalls false.

.NET Framework-Sicherheit

Siehe auch

Referenz

CookieExistenceRule Klasse

Microsoft.VisualStudio.TestTools.WebTesting.Rules-Namespace