Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft