Uri::TryCreate Method

 

Creates a new Uri. Does not throw an exception if the Uri cannot be created.

Namespace:   System
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticTryCreate(String^, UriKind, Uri^%)

Creates a new Uri using the specified String instance and a UriKind.

System_CAPS_pubmethodSystem_CAPS_staticTryCreate(Uri^, String^, Uri^%)

Creates a new Uri using the specified base and relative String instances.

System_CAPS_pubmethodSystem_CAPS_staticTryCreate(Uri^, Uri^, Uri^%)

Creates a new Uri using the specified base and relative Uri instances.

Return to top
Show: