Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Uri Constructors
Definition
- Namespace:
- Windows.Foundation
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Uri(String) |
Initializes a new Uri object from the specified Uniform Resource Identifier (URI) string. Initializing the Uri also parses the string and populates the Uri properties that represent Uniform Resource Identifier (URI) components. |
| Uri(String, String) |
Initializes a new Uri by combining a base Uniform Resource Identifier (URI) and a relative Uniform Resource Identifier (URI). Initializing the Uri also parses the combined string and populates the Uri properties that represent Uniform Resource Identifier (URI) components. |
Uri(String)
public:
Uri(Platform::String ^ uri);
Uri(winrt::hstring const& uri);
public Uri(string uri);
function Uri(uri)
Public Sub New (uri As String)
Parameters
See also
Applies to
Uri(String, String)
public:
Uri(Platform::String ^ baseUri, Platform::String ^ relativeUri);
Uri(winrt::hstring const& baseUri, winrt::hstring const& relativeUri);
public Uri(string baseUri, string relativeUri);
function Uri(baseUri, relativeUri)
Public Sub New (baseUri As String, relativeUri As String)
Parameters
- baseUri
-
String
Platform::String
winrt::hstring
The base Uniform Resource Identifier (URI).
- relativeUri
-
String
Platform::String
winrt::hstring
The relative Uniform Resource Identifier (URI).
See also
Applies to
Feedback
Was this page helpful?
