Click or drag to resize

DesktopSystemsetClipboard Method

Copies text to the clipboard

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 14.1.0-alpha3
Syntax
C#
public void setClipboard(
	string text,
	AckCallback callback = null,
	AckCallback errorCallback = null
)

Parameters

text
Type: SystemString
The text to copy
callback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method succeeds.
errorCallback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method fails. The reason for failure is passed as an argument.
See Also