Export (0) Print
Expand All

ASCIIEncoding Members

ASCIIEncoding overview

Public Constructors

public constructorASCIIEncoding Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the ASCIIEncoding class.

Public Properties

public propertyBodyName (inherited from Encoding) Gets the name for this encoding that can be used with mail agent body tags.
public propertyCodePage (inherited from Encoding)

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the code page identifier of this encoding.
public propertyEncodingName (inherited from Encoding) Gets the human-readable description of the encoding.
public propertyHeaderName (inherited from Encoding) Gets the name for this encoding that can be used with mail agent header tags.
public propertyIsBrowserDisplay (inherited from Encoding) Gets an indication whether this encoding can be used for display by browser clients.
public propertyIsBrowserSave (inherited from Encoding) Gets an indication whether this encoding can be used for saving by browser clients.
public propertyIsMailNewsDisplay (inherited from Encoding) Gets and indication whether this encoding can be used for display by mail and news clients.
public propertyIsMailNewsSave (inherited from Encoding) Gets an indication whether this encoding can be used for saving by mail and news clients.
public propertyWebName (inherited from Encoding)

Supported by the .NET Compact Framework.

Gets the name registered with the Internet Assigned Numbers Authority (IANA) for this encoding.
public propertyWindowsCodePage (inherited from Encoding) Gets the Windows operating system code page that most closely corresponds to this encoding.

Public Methods

public methodEquals (inherited from Encoding)

Supported by the .NET Compact Framework.

Overridden. Determines whether the current instance and the specified Object represent the same type and value.
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 in a specified byte array.
public methodGetCharCount

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Overloaded. Overridden. Decodes a specified set of elements from a byte array, and stores the result into a specified set of elements in a Unicode character array.
public methodGetDecoder (inherited from Encoding)

Supported by the .NET Compact Framework.

Returns a Decoder for this encoding.
public methodGetEncoder (inherited from Encoding)

Supported by the .NET Compact Framework.

An Encoder for this encoding.
public methodGetHashCode (inherited from Encoding)

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 (inherited from Encoding)

Supported by the .NET Compact Framework.

Returns a set of bytes used at the beginning of a stream to determine which encoding a file was created with. This can include the Unicode byte order mark.
public methodGetString

Supported by the .NET Compact Framework.

Overloaded. Overridden. Converts a specified array of bytes to 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

ASCIIEncoding Class | System.Text Namespace

Show:
© 2014 Microsoft