Uri Constructor
Collapse the table of content
Expand the table of content

Uri Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

  NameDescription
Public method Uri(String) Initializes a new instance of the Uri class with the specified URI.
Public method 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 method Uri(Uri, String) Initializes a new instance of the Uri class based on the specified base URI and relative URI string.
Public method 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

Show:
© 2016 Microsoft