Export (0) Print
Expand All

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 Supported by the XNA Framework Encoding Overloaded. Initializes a new instance of the Encoding class.
Top

  Name Description
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework ASCII Gets an encoding for the ASCII (7-bit) character set.
Public property Static Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA 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 Supported by the XNA Framework Default Gets an encoding for the operating 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 Supported by the XNA 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 Supported by the XNA Framework UTF7 Gets an encoding for the UTF-7 format.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework UTF8 Gets an encoding for the UTF-8 format.
Public property Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA 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 Supported by the XNA Framework Convert Overloaded. Converts a byte array from one encoding to another.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Overloaded. Overridden.  
Public method Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA 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 Supported by the XNA 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 Supported by the XNA 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 Supported by the XNA 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 Supported by the XNA 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 Supported by the XNA 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 Supported by the XNA Framework GetHashCode Overridden. Returns the hash code for the current instance.
Public method Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework GetMaxCharCount When overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework 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 Supported by the XNA 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 Supported by the XNA 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 Supported by the XNA Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft