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: StringA string URL address.
Return Value
Type: Uri
The uniform resource identifier (URI) object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.