NavigateToUrlAction.NewInstance 属性

 

获取或设置一个值,该值指示是否应在新窗口中启动该 URL。

命名空间:   Microsoft.VisualStudio.TestTools.UITest.Common
程序集:  Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

语法

public bool NewInstance { get; set; }
public:
property bool NewInstance {
    bool get();
    void set(bool value);
}
member NewInstance : bool with get, set
Public Property NewInstance As Boolean

属性值

Type: System.Boolean

如果在新窗口中启动该 URL,则为 true;否则为 false

备注

设置此属性将引发 PropertyChanged 事件。

请参阅

PropertyChanged
NavigateToUrlAction 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间

返回页首