TypeConversion.TryParseUri Method (String)

 

Parses a string value into a URI representation.

Namespace:   Microsoft.WindowsAzure.Common.Internals
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Syntax

public static Uri TryParseUri(
    string value
)
public:
static Uri^ TryParseUri(
    String^ value
)
static member TryParseUri : 
        value:string -> Uri
Public Shared Function TryParseUri (
    value As String
) As Uri

Parameters

Return Value

Type: System.Uri

A URI object; otherwise, null.

Remarks

Supports relative URIs.

See Also

TypeConversion Class
Microsoft.WindowsAzure.Common.Internals Namespace

Return to top