Export (0) Print
Expand All

Uri Constructor

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.

  Name Description
Public method Uri(String) Initializes a new instance of the Uri class with the specified URI.
Protected method Uri(SerializationInfo, StreamingContext) Initializes a new instance of the Uri class from the specified instances of the SerializationInfo and StreamingContext classes.
Public method Uri(String, Boolean) Obsolete. Initializes a new instance of the Uri class with the specified URI, with explicit control of character escaping.
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.
Public method Uri(Uri, String, Boolean) Obsolete. Initializes a new instance of the Uri class based on the specified base and relative URIs, with explicit control of character escaping.
Top
Show:
© 2014 Microsoft