CookieExistenceRule.CheckForExistence 属性

获取或设置布尔指示符,该指示符指示 cookie 是否存在。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
Public Property CheckForExistence As Boolean
    Get
    Set
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)

属性值

类型:System.Boolean
如果 Cookie 存在,则为 true;否则为 false。

.NET Framework 安全性

请参见

参考

CookieExistenceRule 类

Microsoft.VisualStudio.TestTools.WebTesting.Rules 命名空间