Uri Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The Uri type exposes the following members.
| Name | Description | |
|---|---|---|
|
CheckHostName | Determines whether the specified host name is a valid DNS name. |
|
CheckSchemeName | Determines whether the specified scheme name is valid. |
|
Compare | Compares the specified parts of two URIs using the specified comparison rules. |
|
Equals | Compares two Uri instances for equality. (Overrides Object.Equals(Object).) |
|
EscapeDataString | Converts a string to its escaped representation. |
|
EscapeUriString | Converts a URI string to its escaped representation. |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
FromHex | Gets the decimal value of a hexadecimal digit. |
|
GetComponents | Gets the specified components of the current instance using the specified escaping for special characters. |
|
GetHashCode | Gets the hash code for the URI. (Overrides Object.GetHashCode().) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
IsBaseOf | Determines whether the current Uri instance is a base of the specified Uri instance. |
|
IsHexDigit | Determines whether a specified character is a valid hexadecimal digit. |
|
IsWellFormedOriginalString | Indicates whether the string used to construct this Uri was well-formed and is not required to be further escaped. |
|
IsWellFormedUriString | Indicates whether the string is well-formed by attempting to construct a Uri with the string and ensures that the string does not require further escaping. |
|
MakeRelativeUri | Determines the difference between two Uri instances. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Gets a canonical string representation for the specified Uri instance. (Overrides Object.ToString().) |
|
TryCreate(String, UriKind, Uri) | Creates a new Uri using the specified String instance and a UriKind. |
|
TryCreate(Uri, String, Uri) | Creates a new Uri using the specified base and relative String instances. |
|
TryCreate(Uri, Uri, Uri) | Creates a new Uri using the specified base and relative Uri instances. |
|
UnescapeDataString | Converts a string to its unescaped representation. |
Show: