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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。