Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Shared Property OutputEncoding As Encoding 'Usage Dim value As Encoding value = Console.OutputEncoding Console.OutputEncoding = value
/** @property */ public static Encoding get_OutputEncoding () /** @property */ public static void set_OutputEncoding (Encoding value)
public static function get OutputEncoding () : Encoding public static function set OutputEncoding (value : Encoding)
Property ValueThe encoding used to write console output.
The property value in a set operation is a null reference (Nothing in Visual Basic).
This property's set operation is not supported on Windows 98, Windows 98 Second Edition, or Windows Millennium Edition.
An error occurred during the execution of this operation.
Your application does not have permission to perform this operation.
The console uses the output encoding to translate characters written by an application into corresponding console display characters. The output encoding incorporates a code page that maps 256 characters to individual console display characters. Different code pages include different special characters, typically customized for a language or a group of languages.
Windows 2000 SP4, Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.