Uri Methods

 

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

NameDescription
System_CAPS_protmethodCanonicalize()

Obsolete. This API supports the product infrastructure and is not intended to be used directly from your code. Converts the internally stored URI to canonical form.

System_CAPS_pubmethodSystem_CAPS_staticCheckHostName(String)

Determines whether the specified host name is a valid DNS name.

System_CAPS_pubmethodSystem_CAPS_staticCheckSchemeName(String)

Determines whether the specified scheme name is valid.

System_CAPS_protmethodCheckSecurity()

Obsolete. This API supports the product infrastructure and is not intended to be used directly from your code. Calling this method has no effect.

System_CAPS_pubmethodSystem_CAPS_staticCompare(Uri, Uri, UriComponents, UriFormat, StringComparison)

Compares the specified parts of two URIs using the specified comparison rules.

System_CAPS_pubmethodEquals(Object)

Compares two Uri instances for equality.(Overrides Object.Equals(Object).)

System_CAPS_protmethodEscape()

Obsolete. This API supports the product infrastructure and is not intended to be used directly from your code. Converts any unsafe or reserved characters in the path component to their hexadecimal character representations.

System_CAPS_pubmethodSystem_CAPS_staticEscapeDataString(String)

Converts a string to its escaped representation.

System_CAPS_protmethodSystem_CAPS_staticEscapeString(String)

Obsolete.Converts a string to its escaped representation.

System_CAPS_pubmethodSystem_CAPS_staticEscapeUriString(String)

Converts a URI string to its escaped representation.

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFromHex(Char)

Gets the decimal value of a hexadecimal digit.

System_CAPS_pubmethodGetComponents(UriComponents, UriFormat)

Gets the specified components of the current instance using the specified escaping for special characters.

System_CAPS_pubmethodGetHashCode()

Gets the hash code for the URI.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetLeftPart(UriPartial)

Gets the specified portion of a Uri instance.

System_CAPS_protmethodGetObjectData(SerializationInfo, StreamingContext)

Returns the data needed to serialize the current instance.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticHexEscape(Char)

Converts a specified character into its hexadecimal equivalent.

System_CAPS_pubmethodSystem_CAPS_staticHexUnescape(String, Int32)

Converts a specified hexadecimal representation of a character to the character.

System_CAPS_protmethodIsBadFileSystemCharacter(Char)

Obsolete. This API supports the product infrastructure and is not intended to be used directly from your code. Gets whether a character is invalid in a file system name.

System_CAPS_pubmethodIsBaseOf(Uri)

Determines whether the current Uri instance is a base of the specified Uri instance.

System_CAPS_protmethodSystem_CAPS_staticIsExcludedCharacter(Char)

Obsolete. This API supports the product infrastructure and is not intended to be used directly from your code. Gets whether the specified character should be escaped.

System_CAPS_pubmethodSystem_CAPS_staticIsHexDigit(Char)

Determines whether a specified character is a valid hexadecimal digit.

System_CAPS_pubmethodSystem_CAPS_staticIsHexEncoding(String, Int32)

Determines whether a character in a string is hexadecimal encoded.

System_CAPS_protmethodIsReservedCharacter(Char)

Obsolete. This API supports the product infrastructure and is not intended to be used directly from your code. Gets whether the specified character is a reserved character.

System_CAPS_pubmethodIsWellFormedOriginalString()

Indicates whether the string used to construct this Uri was well-formed and is not required to be further escaped.

System_CAPS_pubmethodSystem_CAPS_staticIsWellFormedUriString(String, UriKind)

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.

System_CAPS_pubmethodMakeRelative(Uri)

Obsolete.Determines the difference between two Uri instances.

System_CAPS_pubmethodMakeRelativeUri(Uri)

Determines the difference between two Uri instances.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodParse()

Obsolete. This API supports the product infrastructure and is not intended to be used directly from your code. Parses the URI of the current instance to ensure it contains all the parts required for a valid URI.

System_CAPS_pubmethodToString()

Gets a canonical string representation for the specified Uri instance.(Overrides Object.ToString().)

System_CAPS_pubmethodSystem_CAPS_staticTryCreate(String, UriKind, Uri)

Creates a new Uri using the specified String instance and a UriKind.

System_CAPS_pubmethodSystem_CAPS_staticTryCreate(Uri, String, Uri)

Creates a new Uri using the specified base and relative String instances.

System_CAPS_pubmethodSystem_CAPS_staticTryCreate(Uri, Uri, Uri)

Creates a new Uri using the specified base and relative Uri instances.

System_CAPS_protmethodUnescape(String)

Obsolete. This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified string by replacing any escape sequences with their unescaped representation.

System_CAPS_pubmethodSystem_CAPS_staticUnescapeDataString(String)

Converts a string to its unescaped representation.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable.GetObjectData(SerializationInfo, StreamingContext)

Returns the data needed to serialize the current instance.

Return to top
Show: