Bagikan melalui


NavigateToUrlAction.GetUri Method

Returns a Uri object for a URL address.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Shared Function GetUri ( _
    probableUri As String _
) As Uri
public static Uri GetUri(
    string probableUri
)
public:
static Uri^ GetUri(
    String^ probableUri
)
static member GetUri : 
        probableUri:string -> Uri
public static function GetUri(
    probableUri : String
) : Uri

Parameters

  • probableUri
    Type: String

    A string URL address.

Return Value

Type: Uri
The uniform resource identifier (URI) object.

.NET Framework Security

See Also

Reference

NavigateToUrlAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace