Mono Class Library: System.Console Overview | MembersSystem.Console.SetIn Method |
Sets the Console.In property to the specified System.IO.TextReader . [Edit]
|
- newIn
- A System.IO.TextReader that becomes the new standard input stream. [Edit]
Type Reason System.Security.Permissions.SecurityPermissionFlag [Edit] Requires permission to execute unmanaged code. See System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode .
Type Reason ArgumentNullException newIn is null. [Edit]
This method replaces the Console.In property with a synchronized System.IO.TextReader returned by System.IO.TextReader.Synchronized(System.IO.TextReader)( newIn ).
Note: By default, the Console.In property is set to the system's standard input stream.[Edit]
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0