Export (0) Print
Expand All

Uri Methods

The methods of the Uri class are listed here. For a complete list of Uri class members, see the Uri Members topic.

Public Methods

public methodstatic (Shared in Visual Basic)CheckHostName

Supported by the .NET Compact Framework.

Determines whether the specified host name is valid.
public methodstatic (Shared in Visual Basic)CheckSchemeName

Supported by the .NET Compact Framework.

Determines whether the specified scheme name is valid.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodEquals

Supported by the .NET Compact Framework.

Overridden. Compares two Uri instances for equality.
public methodstatic (Shared in Visual Basic)FromHex

Supported by the .NET Compact Framework.

Returns the decimal value of a hexadecimal digit.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Returns the hash code for the specified URI.
public methodGetLeftPart

Supported by the .NET Compact Framework.

Returns the specified portion of a URI.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)HexEscape

Supported by the .NET Compact Framework.

Converts a specified character into its hexadecimal equivalent.
public methodstatic (Shared in Visual Basic)HexUnescape

Supported by the .NET Compact Framework.

Converts a specified hexadecimal representation of a character to the character.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodstatic (Shared in Visual Basic)IsHexDigit

Supported by the .NET Compact Framework.

Determines whether a specified character is a valid hexadecimal digit.
public methodstatic (Shared in Visual Basic)IsHexEncoding

Supported by the .NET Compact Framework.

Determines whether a string is hexadecimal encoded.
public methodMakeRelative

Supported by the .NET Compact Framework.

Determines the difference between two Uri instances.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Returns a canonical string representation for the specified Uri instance.

Protected Methods

protected methodstatic (Shared in Visual Basic)EscapeString

Supported by the .NET Compact Framework.

Converts a string to its escaped representation.
protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

Uri Class | System Namespace

Show:
© 2015 Microsoft