Partager via


Uri Constructor

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

Initializes a new instance of the Uri class.

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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Uri(String) Initializes a new instance of the Uri class with the specified URI.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Uri(String, UriKind) Initializes a new instance of the Uri class with the specified URI. This constructor allows you to specify if the URI string is a relative URI, absolute URI, or is indeterminate.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Uri(Uri, String) Initializes a new instance of the Uri class based on the specified base URI and relative URI string.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Uri(Uri, Uri) Initializes a new instance of the Uri class based on the combination of a specified base Uri instance and a relative Uri instance.

Top

See Also

Reference