Table of Contents

Method TryGetClipboardData

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

TryGetClipboardData(out string)

Gets the OS clipboard data if possible.

public static bool TryGetClipboardData(out string result)

Parameters

result string

The clipboard data if successful.

Returns

bool

true if the clipboard data was retrieved successfully; otherwise, false.