Share via


PSConsoleReadLine.CaptureScreen Method

Definition

Start interactive screen capture - up/down arrows select lines, enter copies selected text to clipboard as text and html.

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

Parameters

arg
Object

Applies to