Method TryGetClipboardData | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

TryGetClipboardData(out string)

Copies the _contents of the OS clipboard to result if possible.

public static bool TryGetClipboardData(out string result)

Parameters

result string

The _contents of the OS clipboard if successful, Empty if not.

Returns

bool

true the OS clipboard was retrieved, false otherwise.

Edit this page