Compartilhar via


PSConsoleReadLine.CopyOrCancelLine Method

Definition

If text is selected, copy to the clipboard, otherwise cancel the line.

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

Parameters

arg
Object

Applies to