共用方式為


NavigateToUrlAction.Url 屬性

取得或設定要啟動的 URL。

命名空間:  Microsoft.VisualStudio.TestTools.UITest.Common
組件:  Microsoft.VisualStudio.TestTools.UITest.Common (在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

語法

'宣告
Public Property Url As Uri
    Get
    Set
public Uri Url { get; set; }
public:
property Uri^ Url {
    Uri^ get ();
    void set (Uri^ value);
}
member Url : Uri with get, set
function get Url () : Uri
function set Url (value : Uri)

屬性值

型別:System.Uri
要啟動的 URL。

備註

設定這個屬性可能也會變更 UrlString 屬性值。

設定這個屬性會引發 PropertyChanged 事件。

.NET Framework 安全性

請參閱

參考

NavigateToUrlAction 類別

Microsoft.VisualStudio.TestTools.UITest.Common 命名空間

PropertyChanged

UrlString