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 bool TryGetClipboardData(out string result)

Parameters

result string

The contents of the OS clipboard if successful.

Returns

bool

true the OS clipboard was retrieved, false otherwise.