Freigeben über


PSConsoleReadLine.BeginningOfLine Method

Definition

If the input has multiple lines, move to the start of the current line, or if already at the start of the line, move to the start of the input. If the input has a single line, move to the start of the input.

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

Parameters

arg
Object

Applies to