NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CodePageEncoding Methods

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

Public:

Equals (inherited from Encoding) [To be supplied.]
GetByteCount Overloaded. [To be supplied.]
GetBytes (inherited from Encoding) Overloaded. Returns a byte array containing the encoded representation of the given character array.
GetCharCount (inherited from Encoding) Overloaded. Returns the number of characters required to decode an array of bytes.
GetChars (inherited from Encoding) Overloaded. Decodes a range of bytes in an array into an array of characters.
GetDecoder Gets a decoder object for the current instance of encoding.
GetEncoder (inherited from Encoding) Returns an encoder object for this instance of encoding. The encoder object can be used to encode a sequence of characters into bytes.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetMaxByteCount Gets the maximum number of bytes required to encode a specified number of characters.
GetMaxCharCount Gets the maximum number of characters produced from decoding a specified number of bytes.
GetString (inherited from Encoding) Overloaded. Decodes the specified byte array into a string.
GetType (inherited from Object) Gets the Type of the Object.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

CodePageEncoding Class | System.Globalization Namespace