Console

cs.system.Console (extern final class)

Static Members


WindowWidth: Int

WindowTop: Int

WindowLeft: Int

WindowHeight: Int

TreatControlCAsInput: Bool

Title: String

NumberLock: Bool

LargestWindowWidth: Int

LargestWindowHeight: Int

KeyAvailable: Bool

ForegroundColor: Anonymous

CursorVisible: Bool

CursorSize: Int

CursorTop: Int

CursorLeft: Int

CapsLock: Bool

BufferWidth: Int

BufferHeight: Int

BackgroundColor: Anonymous

OutputEncoding: cs.system.text.Encoding





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

Name Type
newIn cs.system.io.TextReader

Name Type
newOut cs.system.io.TextWriter

Write(value: Bool): Void
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

SetBufferSize(width: Int, height: Int): Void
Name Type
width Int
height Int

SetCursorPosition(left: Int, top: Int): Void
Name Type
left Int
top Int

SetWindowPosition(left: Int, top: Int): Void
Name Type
left Int
top Int

SetWindowSize(width: Int, height: Int): Void
Name Type
width Int
height Int

Metadata

Name Parameters
:nativeGen -
:abstract -
:libType -
:csNative -