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 Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the Uri class.

Namespace:   System
Assembly:  System (in System.dll)

NameDescription
System_CAPS_protmethodUri(SerializationInfo, StreamingContext)

Initializes a new instance of the Uri class from the specified instances of the SerializationInfo and StreamingContext classes.

System_CAPS_pubmethodUri(String)

Initializes a new instance of the Uri class with the specified URI.

System_CAPS_pubmethodUri(String, Boolean)

Obsolete. Initializes a new instance of the Uri class with the specified URI, with explicit control of character escaping.

System_CAPS_pubmethodUri(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.

System_CAPS_pubmethodUri(Uri, String)

Initializes a new instance of the Uri class based on the specified base URI and relative URI string.

System_CAPS_pubmethodUri(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.

System_CAPS_pubmethodUri(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.

Return to top
Show:
© 2018 Microsoft