PSConsoleReadLine.AcceptAndGetNext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- key
- Nullable<ConsoleKeyInfo>
- arg
- Object