C# Class InTheHand.ApplicationModel.DataTransfer.Clipboard

Gets and sets information from the clipboard object.
PlatformVersion supported AndroidAndroid 4.4 and later iOSiOS 9.0 and later macOSOS X 10.7 and later Windows UWPWindows 10 Windows StoreWindows 8.1 or later Windows Phone StoreWindows Phone 8.1 or later Windows Phone SilverlightWindows Phone 8.0 or later Windows (Desktop Apps)Windows Vista or later
Afficher le fichier Open project: inthehand/Charming

Méthodes publiques

Méthode Description
Clear ( ) : void

Removes all data from the Clipboard.

GetContent ( ) : DataPackageView

Gets the current content that is stored in the clipboard object.

SetContent ( DataPackage content ) : void

Sets the current content that is stored in the clipboard object.

Private Methods

Méthode Description
Clipboard ( ) : System
EmptyClipboard ( ) : void
GetText ( ) : string
SetText ( string text ) : void

Method Details

Clear() public static méthode

Removes all data from the Clipboard.
public static Clear ( ) : void
Résultat void

GetContent() public static méthode

Gets the current content that is stored in the clipboard object.
public static GetContent ( ) : DataPackageView
Résultat DataPackageView

SetContent() public static méthode

Sets the current content that is stored in the clipboard object.
public static SetContent ( DataPackage content ) : void
content DataPackage Contains the content of the clipboard. /// If NULL, the clipboard is emptied.
Résultat void