Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Encoding Class
 Encoding Members
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Encoding Members

Represents a character encoding.

The Encoding type exposes the following members.

  NameDescription
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEncodingOverloaded. Initializes a new instance of the Encoding class.
Top
  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCloneWhen overridden in a derived class, creates a shallow copy of the current Encoding object.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkConvertOverloaded. Converts a byte array from one encoding to another.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEqualsDetermines whether the specified Object is equal to the current instance. (Overrides Object..::.Equals(Object).)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetByteCountOverloaded. When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetBytesOverloaded. When overridden in a derived class, encodes a set of characters into a sequence of bytes.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetCharCountOverloaded. When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetCharsOverloaded. When overridden in a derived class, decodes a sequence of bytes into a set of characters.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetDecoderWhen overridden in a derived class, obtains a decoder that converts an encoded sequence of bytes into a sequence of characters.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetEncoderWhen overridden in a derived class, obtains an encoder that converts a sequence of Unicode characters into an encoded sequence of bytes.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetEncodingOverloaded. Returns an encoding for the specified code page.
Public methodStatic memberGetEncodingsReturns an array containing all encodings.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetHashCodeReturns the hash code for the current instance. (Overrides Object..::.GetHashCode()()().)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetMaxByteCountWhen overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetMaxCharCountWhen overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetPreambleWhen overridden in a derived class, returns a sequence of bytes that specifies the encoding used.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetStringOverloaded. When overridden in a derived class, decodes a sequence of bytes into a string.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsAlwaysNormalizedOverloaded. Gets a value indicating whether the current encoding is always normalized.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
  NameDescription
Public propertyStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkASCIIGets an encoding for the ASCII (7-bit) character set.
Public propertyStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkBigEndianUnicodeGets an encoding for the UTF-16 format using the big endian byte order.
Public propertyBodyNameWhen overridden in a derived class, gets a name for the current encoding that can be used with mail agent body tags.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCodePageWhen overridden in a derived class, gets the code page identifier of the current Encoding.
Public propertyDecoderFallbackGets or sets the DecoderFallback object for the current Encoding object.
Public propertyStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkDefaultGets an encoding for the operating system's current ANSI code page.
Public propertyEncoderFallbackGets or sets the EncoderFallback object for the current Encoding object.
Public propertyEncodingNameWhen overridden in a derived class, gets the human-readable description of the current encoding.
Public propertyHeaderNameWhen overridden in a derived class, gets a name for the current encoding that can be used with mail agent header tags.
Public propertyIsBrowserDisplayWhen overridden in a derived class, gets a value indicating whether the current encoding can be used by browser clients for displaying content.
Public propertyIsBrowserSaveWhen overridden in a derived class, gets a value indicating whether the current encoding can be used by browser clients for saving content.
Public propertyIsMailNewsDisplayWhen 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 propertyIsMailNewsSaveWhen 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 propertyIsReadOnlyWhen overridden in a derived class, gets a value indicating whether the current encoding is read-only.
Public propertyIsSingleByteWhen overridden in a derived class, gets a value indicating whether the current encoding uses single-byte code points.
Public propertyStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkUnicodeGets an encoding for the UTF-16 format using the little endian byte order.
Public propertyStatic memberUTF32Gets an encoding for the UTF-32 format using the little endian byte order.
Public propertyStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkUTF7Gets an encoding for the UTF-7 format.
Public propertyStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkUTF8Gets an encoding for the UTF-8 format.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkWebNameWhen overridden in a derived class, gets the name registered with the Internet Assigned Numbers Authority (IANA) for the current encoding.
Public propertyWindowsCodePageWhen overridden in a derived class, gets the Windows operating system code page that most closely corresponds to the current encoding.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker