Export (0) Print
Expand All

Encoding.GetEncoding Method

Returns an Encoding for the specified code page value or name.

Overload List

Returns an Encoding that corresponds to the specified code page value.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Shared Function GetEncoding(Integer) As Encoding
[C#] public static Encoding GetEncoding(int);
[C++] public: static Encoding* GetEncoding(int);
[JScript] public static function GetEncoding(int) : Encoding;

Returns an Encoding for the specified name.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Shared Function GetEncoding(String) As Encoding
[C#] public static Encoding GetEncoding(string);
[C++] public: static Encoding* GetEncoding(String*);
[JScript] public static function GetEncoding(String) : Encoding;

See Also

Encoding Class | Encoding Members | System.Text Namespace

Show:
© 2014 Microsoft