Console.IsInputRedirected Propriedade

Definição

Obtém um valor que indica se a entrada foi redirecionada do fluxo de entrada padrão.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; }
member this.IsInputRedirected : bool
Public Shared ReadOnly Property IsInputRedirected As Boolean

Valor da propriedade

Boolean

true se a entrada tiver sido redirecionada; caso contrário, false.true if input is redirected; otherwise, false.

Aplica-se a

Confira também