Share via


CookieExistenceRule.CheckForExistence Property

Gets or sets the Boolean indicator of whether the cookie exists.

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)

Property Value

Type: Boolean
true if the cookie exists; otherwise, false.

.NET Framework Security

See Also

Reference

CookieExistenceRule Class

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace