简体   繁体   中英

C# Windows Phone 8.1 Clipboard support

I'm wondering if there is a copy to clipboard support in Windows Phone 8.1

Here it says, there is no support (no date) and here it says there is (from June '14)

However if I try to compile

Clipboard.SetText("myClipboard Text");

I only get a compiling error with a missing assembly reference for the namespace Clipboard

Alternatively is there a workaround to still be able, putting text into the Clipboard ?

Unfortunately, there's no clipboard API in Windows Runtime. You can still use it, if you build Silverlight application, but as MSDN says there's no equalient of this API for Windows Runtime apps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM