Partager via


Uri.TryCreate Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 TryCreate(String, UriKind, Uri%) Creates a new Uri using the specified String instance and a UriKind.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 TryCreate(Uri, String, Uri%) Creates a new Uri using the specified base and relative String instances.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 TryCreate(Uri, Uri, Uri%) Creates a new Uri using the specified base and relative Uri instances.

Top

See Also

Reference