开发者

How to copy to the clipboard in F#?

And more specific开发者_开发知识库ally, in FSI?


You can programatically control the clipboard using the Clipboard class in the System.Windows.Forms namespace. (The required assembly is brought in by default to FSI.)

open System.Windows.Forms
Clipboard.SetText("Hello from FSI!")
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜