Uri Constructors
Definition
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
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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin