Partager via


PSConsoleReadLine.AcceptAndGetNext Method

Definition

Attempt to execute the current input. If it can be executed (like AcceptLine), then recall the next item from history the next time ReadLine is called.

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

Parameters

arg
Object

Applies to