This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Console Members
Public:
Methods
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) |
Gets the Type of the Object. |
OpenStandardError |
Overloaded. [To be supplied.] |
OpenStandardInput |
Overloaded. [To be supplied.] |
OpenStandardOutput |
Overloaded. [To be supplied.] |
Read |
Reads the next character from Console.In, which is set to the system's standard input stream by default. |
ReadLine |
Reads the next line of characters from Console.In, which is set to the system's standard input stream by default. |
SetError |
Redirects Console.Error to the specified TextWriter. By default, Console.Error is set to the system's standard error stream. |
SetIn |
Redirects Console.In to the specified TextReader. By default, Console.In is set to the system's standard input stream. |
SetOut |
Redirects Console.Out to the specified TextWriter. By default, Console.Out is set to the system's standard output stream. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Write |
Overloaded. Writes the specified information to Console.Out. |
WriteLine |
Overloaded. Writes information followed by a line terminator to Console.Out. |
Fields
Error |
This field is assigned to the standard error stream of the system. It can be redirected via the SetError method. |
In |
This field is assigned to the standard input stream of the system. It can be redirected via the SetIn method. |
Out |
This field is assigned to the standard output stream of the system. It can be redirected via the SetOut method. |
Protected:
Methods
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
Console Class | System Namespace