Share via


PSConsoleReadLine.HistorySearchForward Method

Definition

Replace the current input with the 'next' item from PSReadLine history that matches the characters between the start and the input and the cursor.

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

Parameters

arg
Object

Applies to