Export (0) Print
Expand All

Clipboard Methods

The Clipboard type exposes the following members.

  NameDescription
Public method Static member Clear Removes all data from the Clipboard.
Public method Static member ContainsAudio Indicates whether there is data on the Clipboard in the WaveAudio format.
Public method Static member ContainsData Indicates whether there is data on the Clipboard that is in the specified format or can be converted to that format.
Public method Static member ContainsFileDropList Indicates whether there is data on the Clipboard that is in the FileDrop format or can be converted to that format.
Public method Static member ContainsImage Indicates whether there is data on the Clipboard that is in the Bitmap format or can be converted to that format.
Public method Static member ContainsText() Indicates whether there is data on the Clipboard in the Text or UnicodeText format, depending on the operating system.
Public method Static member ContainsText(TextDataFormat) Indicates whether there is text data on the Clipboard in the format indicated by the specified TextDataFormat value.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member GetAudioStream Retrieves an audio stream from the Clipboard.
Public method Static member GetData Retrieves data from the Clipboard in the specified format.
Public method Static member GetDataObject Retrieves the data that is currently on the system Clipboard.
Public method Static member GetFileDropList Retrieves a collection of file names from the Clipboard.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Static member GetImage Retrieves an image from the Clipboard.
Public method Static member GetText() Retrieves text data from the Clipboard in the Text or UnicodeText format, depending on the operating system.
Public method Static member GetText(TextDataFormat) Retrieves text data from the Clipboard in the format indicated by the specified TextDataFormat value.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member SetAudio(Byte[]) Clears the Clipboard and then adds a Byte array in the WaveAudio format after converting it to a Stream.
Public method Static member SetAudio(Stream) Clears the Clipboard and then adds a Stream in the WaveAudio format.
Public method Static member SetData Clears the Clipboard and then adds data in the specified format.
Public method Static member SetDataObject(Object) Clears the Clipboard and then places nonpersistent data on it.
Public method Static member SetDataObject(Object, Boolean) Clears the Clipboard and then places data on it and specifies whether the data should remain after the application exits.
Public method Static member SetDataObject(Object, Boolean, Int32, Int32) Clears the Clipboard and then attempts to place data on it the specified number of times and with the specified delay between attempts, optionally leaving the data on the Clipboard after the application exits.
Public method Static member SetFileDropList Clears the Clipboard and then adds a collection of file names in the FileDrop format.
Public method Static member SetImage Clears the Clipboard and then adds an Image in the Bitmap format.
Public method Static member SetText(String) Clears the Clipboard and then adds text data in the Text or UnicodeText format, depending on the operating system.
Public method Static member SetText(String, TextDataFormat) Clears the Clipboard and then adds text data in the format indicated by the specified TextDataFormat value.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft