Partager via


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

Definition

Copy selected region to the system clipboard. If no region is selected, copy the whole line.

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

Parameters

arg
Object

Applies to