Export (0) Print
Expand All

UnicodeEncoding Methods

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

Public Methods

public methodEquals

Supported by the .NET Compact Framework.

Overridden. Returns a value indicating whether this instance is equal to a specified object.
public methodGetByteCount

Supported by the .NET Compact Framework.

Overloaded. Overridden. Calculates the number of bytes required to store the results of encoding a set of characters from a specified String or Unicode character array.
public methodGetBytes

Supported by the .NET Compact Framework.

Overloaded. Overridden. Encodes a specified range of characters from a Unicode character array or a String and stores the results into a specified byte array.
public methodGetCharCount

Supported by the .NET Compact Framework.

Overloaded. Overridden. Calculates the number of characters that would result from decoding the elements in a byte array.
public methodGetChars

Supported by the .NET Compact Framework.

Overloaded. Overridden. Decodes the elements from a specified byte array and stores them as elements in a specified Unicode character array.
public methodGetDecoder

Supported by the .NET Compact Framework.

Overridden. Obtains a decoder that can convert a UTF-16 encoded sequence of bytes into a sequence of characters.
public methodGetEncoder (inherited from Encoding)

Supported by the .NET Compact Framework.

An Encoder for this encoding.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Returns the hash code for this instance.
public methodGetMaxByteCount

Supported by the .NET Compact Framework.

Overridden. Calculates the maximum number of bytes required to encode a specified number of characters.
public methodGetMaxCharCount

Supported by the .NET Compact Framework.

Overridden. Calculates the maximum number of characters that can result from decoding a specified number of bytes.
public methodGetPreamble

Supported by the .NET Compact Framework.

Overridden. Returns a Unicode byte order mark encoded in big-endian or little-endian format, if the constructor for this instance requested byte order mark support.
public methodGetString (inherited from Encoding)

Supported by the .NET Compact Framework.

Overloaded. Decodes the specified byte array into a string.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

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

UnicodeEncoding Class | System.Text Namespace

Show:
© 2014 Microsoft