Export (0) Print
Expand All
1 out of 5 rated this helpful - Rate this topic

Encoding Members

Represents a character encoding.

The following tables list the members exposed by the Encoding type.

  Name Description
Protected method Supported by the .NET Compact Framework Encoding Overloaded. Initializes a new instance of the Encoding class.
Top
  Name Description
Public property Static Supported by the .NET Compact Framework ASCII Gets an encoding for the ASCII (7-bit) character set.
Public property Static Supported by the .NET Compact Framework BigEndianUnicode Gets an encoding for the UTF-16 format using the big-endian byte order.
Public property BodyName When overridden in a derived class, gets a name for the current encoding that can be used with mail agent body tags.
Public property Supported by the .NET Compact Framework CodePage When overridden in a derived class, gets the code page identifier of the current Encoding.
Public property DecoderFallback Gets or sets the DecoderFallback object for the current Encoding object.
Public property Static Supported by the .NET Compact Framework Default Gets an encoding for the system's current ANSI code page.
Public property EncoderFallback Gets or sets the EncoderFallback object for the current Encoding object.
Public property EncodingName When overridden in a derived class, gets the human-readable description of the current encoding.
Public property HeaderName When overridden in a derived class, gets a name for the current encoding that can be used with mail agent header tags.
Public property IsBrowserDisplay When overridden in a derived class, gets a value indicating whether the current encoding can be used by browser clients for displaying content.
Public property IsBrowserSave When overridden in a derived class, gets a value indicating whether the current encoding can be used by browser clients for saving content.
Public property IsMailNewsDisplay When overridden in a derived class, gets a value indicating whether the current encoding can be used by mail and news clients for displaying content.
Public property IsMailNewsSave When overridden in a derived class, gets a value indicating whether the current encoding can be used by mail and news clients for saving content.
Public property IsReadOnly When overridden in a derived class, gets a value indicating whether the current encoding is read-only.
Public property IsSingleByte When overridden in a derived class, gets a value indicating whether the current encoding uses single-byte code points.
Public property Static Supported by the .NET Compact Framework Unicode Gets an encoding for the UTF-16 format using the little-endian byte order.
Public property Static UTF32 Gets an encoding for the UTF-32 format using the little-endian byte order.
Public property Static Supported by the .NET Compact Framework UTF7 Gets an encoding for the UTF-7 format.
Public property Static Supported by the .NET Compact Framework UTF8 Gets an encoding for the UTF-8 format.
Public property Supported by the .NET Compact Framework WebName When overridden in a derived class, gets the name registered with the Internet Assigned Numbers Authority (IANA) for the current encoding.
Public property WindowsCodePage When overridden in a derived class, gets the Windows operating system code page that most closely corresponds to the current encoding.
Top
(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Clone When overridden in a derived class, creates a shallow copy of the current Encoding object.
Public method Static Supported by the .NET Compact Framework Convert Overloaded. Converts a byte array from one encoding to another.
Public method Supported by the .NET Compact Framework Equals Overloaded. Overridden.  
Public method Supported by the .NET Compact Framework GetByteCount Overloaded. When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters.
Public method Supported by the .NET Compact Framework GetBytes Overloaded. When overridden in a derived class, encodes a set of characters into a sequence of bytes.
Public method Supported by the .NET Compact Framework GetCharCount Overloaded. When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes.
Public method Supported by the .NET Compact Framework GetChars Overloaded. When overridden in a derived class, decodes a sequence of bytes into a set of characters.
Public method Supported by the .NET Compact Framework GetDecoder When overridden in a derived class, obtains a decoder that converts an encoded sequence of bytes into a sequence of characters.
Public method Supported by the .NET Compact Framework GetEncoder When overridden in a derived class, obtains an encoder that converts a sequence of Unicode characters into an encoded sequence of bytes.
Public method Static Supported by the .NET Compact Framework GetEncoding Overloaded. Returns an encoding for the specified code page.
Public method Static GetEncodings Returns an array containing all encodings.
Public method Supported by the .NET Compact Framework GetHashCode Overridden. Returns the hash code for the current instance.
Public method Supported by the .NET Compact Framework GetMaxByteCount When overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters.
Public method Supported by the .NET Compact Framework GetMaxCharCount When overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes.
Public method GetPreamble When overridden in a derived class, returns a sequence of bytes that specifies the encoding used.
Public method Supported by the .NET Compact Framework GetString Overloaded. When overridden in a derived class, decodes a sequence of bytes into a string.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IsAlwaysNormalized Overloaded. Gets a value indicating whether the current encoding is always normalized.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top
  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.