PSConsoleReadLine.YankLastArg(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.
Yank the last argument from the previous history line. With an argument, the first time it is invoked, behaves just like YankNthArg. If invoked multiple times, instead it iterates through history and arg sets the direction (negative reverses the direction.)
public static void YankLastArg (ConsoleKeyInfo? key = default, object arg = default);
static member YankLastArg : Nullable<ConsoleKeyInfo> * obj -> unit
Public Shared Sub YankLastArg (Optional key As Nullable(Of ConsoleKeyInfo) = Nothing, Optional arg As Object = Nothing)
Parameters
- key
- Nullable<ConsoleKeyInfo>
- arg
- Object