ClipboardService

Up and coming: shot check knows this class and its members today, and programs run it once the native runtime lands.

ShotInstanceservicenot creatablecomingPrograms

Up and coming

Copy text to the clipboard and read it back from your program.

use ClipboardService gives it. GetTextAsync reads the text on the Windows clipboard and SetTextAsync sets it.

A service: write use ClipboardService.

Methods

NameArgumentsReturnsDescription
GetTextAsync
yields
()(string?, string?)
SetTextAsync
yields
(text: string)(boolean, string?)
From ShotInstance 33