Table of Contents

Method TrySetClipboardData

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

TrySetClipboardData(string)

Pastes the text to the OS clipboard if possible.

public static bool TrySetClipboardData(string text)

Parameters

text string

The text to paste to the OS clipboard.

Returns

bool

true the OS clipboard was set, false otherwise.