Table of Contents

Method TrySetClipboardData

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

TrySetClipboardData(string)

Sets the OS clipboard data if possible.

public static bool TrySetClipboardData(string text)

Parameters

text string

The text to set.

Returns

bool

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