Sdílet prostřednictvím


PSConsoleReadLine.AddLine(Nullable<ConsoleKeyInfo>, Object) Method

Definition

The continuation prompt is displayed on the next line and PSReadLine waits for keys to edit the current input. This is useful to enter multi-line input as a single command even when a single line is complete input by itself.

public static void AddLine (ConsoleKeyInfo? key = default, object arg = default);
static member AddLine : Nullable<ConsoleKeyInfo> * obj -> unit
Public Shared Sub AddLine (Optional key As Nullable(Of ConsoleKeyInfo) = Nothing, Optional arg As Object = Nothing)

Parameters

arg
Object

Applies to