Export (0) Print
Expand All

Encoding.Default Property

Gets an encoding for the system's current ANSI code page.

[Visual Basic]
Public Shared ReadOnly Property Default As Encoding
[C#]
public static Encoding Default {get;}
[C++]
public: __property static Encoding* get_Default();
[JScript]
public static function get Default() : Encoding;

Property Value

An encoding for the system's current ANSI code page.

Remarks

You can also retrieve your system's current ANSI code page with the Win32 API GetACP() method.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

Encoding Class | Encoding Members | System.Text Namespace

Show:
© 2014 Microsoft