Export (0) Print
Expand All

Clipboard Members

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

The following tables list the members exposed by the Clipboard type.

(see also Protected Methods )
  Name Description
Public method Static Clear Clears any data from the system Clipboard.
Public method Static ContainsAudio Queries the Clipboard for the presence of data in the WaveAudio data format.
Public method Static ContainsData Queries the Clipboard for the presence of data in a specified data format.
Public method Static ContainsFileDropList Queries the Clipboard for the presence of data in the FileDrop data format.
Public method Static ContainsImage Queries the Clipboard for the presence of data in the Bitmap data format.
Public method Static ContainsText Overloaded. Queries the Clipboard for the presence of data in a valid text data format.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static GetAudioStream Returns a stream of Clipboard data in the WaveAudio data format.
Public method Static GetData Retrieves data in a specified format from the Clipboard.
Public method Static GetDataObject Returns a data object that represents the entire contents of the Clipboard.
Public method Static GetFileDropList Returns a string collection that contains a list of dropped files available on the Clipboard.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Static GetImage Returns a BitmapSource object from the Clipboard that contains data in the Bitmap format.
Public method Static GetText Overloaded. Returns a string containing the text data on the Clipboard.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static IsCurrent Compares a specified data object to the contents of the Clipboard.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static SetAudio Overloaded. Stores audio data (WaveAudio data format) on the Clipboard. The audio data can be a byte array or a stream.
Public method Static SetData Stores the specified data on the Clipboard in the specified format.
Public method Static SetDataObject Overloaded. Stores a specified data object on the system Clipboard.
Public method Static SetFileDropList Stores FileDrop data on the Clipboard. The dropped file list is specified as a string collection.
Public method Static SetImage Stores Bitmap data on the Clipboard. The image data is specified as a BitmapSource.
Public method Static SetText Overloaded. Stores text data on the Clipboard. The text data to store is specified as a string.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft