Table of Contents

Method TryGetClipboardData

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.