แก้ไข

แชร์ผ่าน


Console.IsInputRedirected Property

Definition

Gets a value that indicates whether input has been redirected from the standard input stream.

public:
 static property bool IsInputRedirected { bool get(); };
public static bool IsInputRedirected { get; }
static member IsInputRedirected : bool
Public Shared ReadOnly Property IsInputRedirected As Boolean

Property Value

true if input is redirected; otherwise, false.

Applies to

See also