Partager via


PSConsoleReadLine.PreviousHistory Method

Definition

Replace the current input with the 'previous' item from PSReadLine history.

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

Parameters

arg
Object

Applies to