Partager via


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

Definition

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

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

Parameters

arg
Object

Applies to