mscorlib(4.0.0.0) API with additions
System.Text.EncodingInfo Class Reference

Provides basic information about an encoding. More...

Public Member Functions

Encoding GetEncoding ()
 Returns a T:System.Text.Encoding object that corresponds to the current T:System.Text.EncodingInfo object. More...
 
override bool Equals (object value)
 Gets a value indicating whether the specified object is equal to the current T:System.Text.EncodingInfo object. More...
 
override int GetHashCode ()
 Returns the hash code for the current T:System.Text.EncodingInfo object. More...
 

Public Attributes

int CodePage => iCodePage
 Gets the code page identifier of the encoding. More...
 
string Name => strEncodingName
 Gets the name registered with the Internet Assigned Numbers Authority (IANA) for the encoding. More...
 
string DisplayName => strDisplayName
 Gets the human-readable description of the encoding. More...
 

Detailed Description

Provides basic information about an encoding.

Definition at line 5 of file EncodingInfo.cs.

Member Function Documentation

◆ Equals()

override bool System.Text.EncodingInfo.Equals ( object  value)

Gets a value indicating whether the specified object is equal to the current T:System.Text.EncodingInfo object.

Parameters
valueAn object to compare to the current T:System.Text.EncodingInfo object.
Returns
true if value is a T:System.Text.EncodingInfo object and is equal to the current T:System.Text.EncodingInfo object; otherwise, false.

Definition at line 43 of file EncodingInfo.cs.

◆ GetEncoding()

Encoding System.Text.EncodingInfo.GetEncoding ( )

Returns a T:System.Text.Encoding object that corresponds to the current T:System.Text.EncodingInfo object.

Returns
A T:System.Text.Encoding object that corresponds to the current T:System.Text.EncodingInfo object.

Definition at line 34 of file EncodingInfo.cs.

◆ GetHashCode()

override int System.Text.EncodingInfo.GetHashCode ( )

Returns the hash code for the current T:System.Text.EncodingInfo object.

Returns
A 32-bit signed integer hash code.

Definition at line 55 of file EncodingInfo.cs.

Member Data Documentation

◆ CodePage

int System.Text.EncodingInfo.CodePage => iCodePage

Gets the code page identifier of the encoding.

Returns
The code page identifier of the encoding.

Definition at line 15 of file EncodingInfo.cs.

◆ DisplayName

string System.Text.EncodingInfo.DisplayName => strDisplayName

Gets the human-readable description of the encoding.

Returns
The human-readable description of the encoding.

Definition at line 23 of file EncodingInfo.cs.

◆ Name

string System.Text.EncodingInfo.Name => strEncodingName

Gets the name registered with the Internet Assigned Numbers Authority (IANA) for the encoding.

Returns
The IANA name for the encoding. For more information about the IANA, see www.iana.org.

Definition at line 19 of file EncodingInfo.cs.


The documentation for this class was generated from the following file: