Method TryGetClipboardData | Terminal.Gui v1 (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