.NET Framework Class Library
Clipboard Members

Provides static methods that facilitate transferring data to and from the system Clipboard.

The Clipboard type exposes the following members.

Methods

  NameDescription
Public methodStatic memberClearClears any data from the system Clipboard.
Public methodStatic memberContainsAudioQueries the Clipboard for the presence of data in the WaveAudio data format.
Public methodStatic memberContainsDataQueries the Clipboard for the presence of data in a specified data format.
Public methodStatic memberContainsFileDropListQueries the Clipboard for the presence of data in the FileDrop data format.
Public methodStatic memberContainsImageQueries the Clipboard for the presence of data in the Bitmap data format.
Public methodStatic memberContainsTextOverloaded. Queries the Clipboard for the presence of data in a valid text data format.
Public methodStatic memberGetAudioStreamReturns a stream of Clipboard data in the WaveAudio data format.
Public methodStatic memberGetDataRetrieves data in a specified format from the Clipboard.
Public methodStatic memberGetDataObjectReturns a data object that represents the entire contents of the Clipboard.
Public methodStatic memberGetFileDropListReturns a string collection that contains a list of dropped files available on the Clipboard.
Public methodStatic memberGetImageReturns a BitmapSource object from the Clipboard that contains data in the Bitmap format.
Public methodStatic memberGetTextOverloaded. Returns a string containing the text data on the Clipboard.
Public methodStatic memberIsCurrentCompares a specified data object to the contents of the Clipboard.
Public methodStatic memberSetAudioOverloaded. Stores audio data (WaveAudio data format) on the Clipboard. The audio data can be a byte array or a stream.
Public methodStatic memberSetDataStores the specified data on the Clipboard in the specified format.
Public methodStatic memberSetDataObjectOverloaded. Stores a specified data object on the system Clipboard.
Public methodStatic memberSetFileDropListStores FileDrop data on the Clipboard. The dropped file list is specified as a string collection.
Public methodStatic memberSetImageStores Bitmap data on the Clipboard. The image data is specified as a BitmapSource.
Public methodStatic memberSetTextOverloaded. Stores text data on the Clipboard. The text data to store is specified as a string.
Top
See Also

Reference

Tags :


Page view tracker