PSConsoleReadLine.AcceptLine(Nullable<ConsoleKeyInfo>, Object) 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 the current input is incomplete (for example there is a missing closing parenthesis, bracket, or quote, then the continuation prompt is displayed on the next line and PSReadLine waits for keys to edit the current input.
public static void AcceptLine (ConsoleKeyInfo? key = default, object arg = default);
static member AcceptLine : Nullable<ConsoleKeyInfo> * obj -> unit
Public Shared Sub AcceptLine (Optional key As Nullable(Of ConsoleKeyInfo) = Nothing, Optional arg As Object = Nothing)
Parameters
- key
- Nullable<ConsoleKeyInfo>
- arg
- Object