Console
cs.system.Console (extern final class)
Static Members
CancelKeyPress: ConsoleCancelEventHandler
WindowWidth: Int
WindowTop: Int
WindowLeft: Int
WindowHeight: Int
TreatControlCAsInput: Bool
Title: String
NumberLock: Bool
LargestWindowWidth: Int
LargestWindowHeight: Int
KeyAvailable: Bool
CursorVisible: Bool
CursorSize: Int
CursorTop: Int
CursorLeft: Int
CapsLock: Bool
BufferWidth: Int
BufferHeight: Int
OutputEncoding: cs.system.text.Encoding
InputEncoding: cs.system.text.Encoding
Error: cs.system.io.TextWriter
add_CancelKeyPress(value: ConsoleCancelEventHandler): Void
Name | Type |
---|---|
value |
ConsoleCancelEventHandler |
remove_CancelKeyPress(value: ConsoleCancelEventHandler): Void
Name | Type |
---|---|
value |
ConsoleCancelEventHandler |
OpenStandardError(): cs.system.io.Stream
Returns |
---|
cs.system.io.Stream |
OpenStandardInput(): cs.system.io.Stream
Returns |
---|
cs.system.io.Stream |
OpenStandardOutput(): cs.system.io.Stream
Returns |
---|
cs.system.io.Stream |
SetError(newError: cs.system.io.TextWriter): Void
Name | Type |
---|---|
newError |
cs.system.io.TextWriter |
SetIn(newIn: cs.system.io.TextReader): Void
Name | Type |
---|---|
newIn |
cs.system.io.TextReader |
SetOut(newOut: cs.system.io.TextWriter): Void
Name | Type |
---|---|
newOut |
cs.system.io.TextWriter |
Name | Type |
---|---|
value |
Bool |
WriteLine(): Void
Read(): Int
Returns |
---|
Int |
ReadLine(): String
Returns |
---|
String |
Beep(): Void
Clear(): Void
MoveBufferArea(sourceLeft: Int, sourceTop: Int, sourceWidth: Int, sourceHeight: Int, targetLeft: Int, targetTop: Int): Void
Name | Type |
---|---|
sourceLeft |
Int |
sourceTop |
Int |
sourceWidth |
Int |
sourceHeight |
Int |
targetLeft |
Int |
targetTop |
Int |
ReadKey(): ConsoleKeyInfo
Returns |
---|
ConsoleKeyInfo |
ResetColor(): Void
Name | Type |
---|---|
width |
Int |
height |
Int |
Name | Type |
---|---|
left |
Int |
top |
Int |
Name | Type |
---|---|
left |
Int |
top |
Int |
Name | Type |
---|---|
width |
Int |
height |
Int |
Metadata
Name | Parameters |
---|---|
:nativeGen |
- |
:abstract |
- |
:libType |
- |
:csNative |
- |