PSConsoleReadLine.YankNthArg(Nullable<ConsoleKeyInfo>, Object) Method

Definition

Yank the first argument (after the command) from the previous history line. With an argument, yank the nth argument (starting from 0), if the argument is negative, start from the last argument.

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

Parameters

arg
Object

Applies to