此文章由人工翻译。 将光标移到文章的句子上,以查看原文。
|
译文
原文
|
Console 类
程序集: mscorlib(在 mscorlib.dll 中)
Console 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() ![]() | BackgroundColor | |
![]() ![]() | BufferHeight | |
![]() ![]() | BufferWidth | |
![]() ![]() | CapsLock | |
![]() ![]() | CursorLeft | |
![]() ![]() | CursorSize | |
![]() ![]() | CursorTop | |
![]() ![]() | CursorVisible | |
![]() ![]() ![]() | Error | |
![]() ![]() | ForegroundColor | |
![]() ![]() ![]() | In | |
![]() ![]() | InputEncoding | |
![]() ![]() | KeyAvailable | |
![]() ![]() | LargestWindowHeight | |
![]() ![]() | LargestWindowWidth | |
![]() ![]() | NumberLock | |
![]() ![]() ![]() | Out | |
![]() ![]() | OutputEncoding | |
![]() ![]() | Title | |
![]() ![]() | TreatControlCAsInput | |
![]() ![]() | WindowHeight | |
![]() ![]() | WindowLeft | |
![]() ![]() | WindowTop | |
![]() ![]() | WindowWidth |
名称 | 说明 | |
---|---|---|
![]() ![]() | Beep() | |
![]() ![]() | Beep(Int32, Int32) | |
![]() ![]() | Clear | |
![]() ![]() | MoveBufferArea(Int32, Int32, Int32, Int32, Int32, Int32) | |
![]() ![]() | MoveBufferArea(Int32, Int32, Int32, Int32, Int32, Int32, Char, ConsoleColor, ConsoleColor) | |
![]() ![]() | OpenStandardError() | |
![]() ![]() | OpenStandardError(Int32) | |
![]() ![]() | OpenStandardInput() | |
![]() ![]() | OpenStandardInput(Int32) | |
![]() ![]() | OpenStandardOutput() | |
![]() ![]() | OpenStandardOutput(Int32) | |
![]() ![]() | Read | |
![]() ![]() | ReadKey() | |
![]() ![]() | ReadKey(Boolean) | |
![]() ![]() ![]() | ReadLine | |
![]() ![]() | ResetColor | |
![]() ![]() | SetBufferSize | |
![]() ![]() | SetCursorPosition | |
![]() ![]() ![]() | SetError | |
![]() ![]() ![]() | SetIn | |
![]() ![]() ![]() | SetOut | |
![]() ![]() | SetWindowPosition | |
![]() ![]() | SetWindowSize | |
![]() ![]() | Write(Boolean) | |
![]() ![]() ![]() | Write(Char) | |
![]() ![]() ![]() | Write(Char[]) | |
![]() ![]() | Write(Decimal) | |
![]() ![]() | Write(Double) | |
![]() ![]() ![]() | Write(Int32) | |
![]() ![]() | Write(Int64) | |
![]() ![]() ![]() | Write(Object) | |
![]() ![]() | Write(Single) | |
![]() ![]() ![]() | Write(String) | |
![]() ![]() | Write(UInt32) | |
![]() ![]() | Write(UInt64) | |
![]() ![]() ![]() | Write(String, Object) | |
![]() ![]() ![]() | Write(String, Object[]) | |
![]() ![]() ![]() | Write(Char[], Int32, Int32) | |
![]() ![]() ![]() | Write(String, Object, Object) | |
![]() ![]() ![]() | Write(String, Object, Object, Object) | |
![]() ![]() | Write(String, Object, Object, Object, Object) | |
![]() ![]() ![]() | WriteLine() | |
![]() ![]() | WriteLine(Boolean) | |
![]() ![]() ![]() | WriteLine(Char) | |
![]() ![]() ![]() | WriteLine(Char[]) | |
![]() ![]() | WriteLine(Decimal) | |
![]() ![]() | WriteLine(Double) | |
![]() ![]() ![]() | WriteLine(Int32) | |
![]() ![]() | WriteLine(Int64) | |
![]() ![]() ![]() | WriteLine(Object) | |
![]() ![]() | WriteLine(Single) | |
![]() ![]() ![]() | WriteLine(String) | |
![]() ![]() | WriteLine(UInt32) | |
![]() ![]() | WriteLine(UInt64) | |
![]() ![]() ![]() | WriteLine(String, Object) | |
![]() ![]() ![]() | WriteLine(String, Object[]) | |
![]() ![]() | WriteLine(Char[], Int32, Int32) | |
![]() ![]() ![]() | WriteLine(String, Object, Object) | |
![]() ![]() ![]() | WriteLine(String, Object, Object, Object) | |
![]() ![]() | WriteLine(String, Object, Object, Object, Object) |
控制台 I/O 流
屏幕缓冲区和控制台窗口
功能
Windows 7, Windows Vista SP1 或更高版本, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008(不支持服务器核心), Windows Server 2008 R2(支持 SP1 或更高版本的服务器核心), Windows Server 2003 SP2
.NET Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。