ClipboardObject Members
Include Protected Members
Include Inherited Members
Represents a clipboard object for the purpose of data transfer. This object interoperates between DataObject, IDataObject, and IDataObject.
The ClipboardObject type exposes the following members.
Constructors
Name
Description
Overloaded. Initializes a new instance of the ClipboardObject class.
Top
Methods
Name
Description
Indicates whether the data object contains data in the WaveAudio format. (Inherited from DataObject.)
Indicates whether the data object contains data that is in the FileDrop format or can be converted to that format. (Inherited from DataObject.)
Indicates whether the data object contains data that is in the Bitmap format or can be converted to that format. (Inherited from DataObject.)
Overloaded. Indicates whether the data object contains text data.
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Retrieves an audio stream from the data object. (Inherited from DataObject.)
Overloaded. Retrieves the data stored in the clipboard object.
Overloaded. Indicates whether data stored in the clipboard object can be converted to or is associated with the specified format.
Retrieves a collection of file names from the data object. (Inherited from DataObject.)
Overloaded. Retrieves a list of all formats that are supported for the data stored in the clipboard object.
Serves as a hash function for a particular type. (Inherited from Object.)
Retrieves an image from the data object. (Inherited from DataObject.)
Overloaded. Retrieves text data from the data object.
Gets the type of the current instance. (Inherited from Object.)
Creates a shallow copy of the current Object. (Inherited from Object.)
Overloaded. Adds data to the data object in the WaveAudio format.
Overloaded. Adds data to the clipboard.
Adds a collection of file names to the data object in the FileDrop format. (Inherited from DataObject.)
Adds an Image to the data object in the Bitmap format. (Inherited from DataObject.)
Overloaded. Adds text data to the data object.
Returns a string that represents the current object. (Inherited from Object.)
Top
Explicit Interface Implementations
Name
Description
Creates a connection between the clipboard object and an advisory sink. This method is called by an object that supports an advisory sink and enables the advisory sink to be notified of changes in the object's data.
Creates a connection between the clipboard object and an advisory sink. This method is called by an object that supports an advisory sink and enables the advisory sink to be notified of changes in the object's data.
Removes a notification connection that has been established.
Removes a notification connection that had been previously established.
Creates an object that can be used to enumerate the current advisory connections.
Creates an object that can be used to enumerate the current advisory connections.
Creates an object for enumerating the FORMATETC structures for a data object. These structures are used in calls to IDataObject.GetData or IDataObject.SetData.
Creates an object for enumerating the FORMATETC structures for a data object. These structures are used in calls to IDataObject.GetData or IDataObject.SetData.
IDataObject.GetCanonicalFormatEtc
Provides a standard FORMATETC structure that is logically equivalent to a more complex structure. Use this method to determine whether two different FORMATETC structures return the same data, removing the need for duplicate rendering.
IDataObject.GetCanonicalFormatEtc
Provides a standard FORMATETC structure that is logically equivalent to a more complex structure. Use this method to determine whether two different FORMATETC structures return the same data, removing the need for duplicate rendering.
Obtains data from a source data object. This method is called by a data consumer. It renders the data described in the specified FORMATETC structure and transfers it through the specified STGMEDIUM structure. The caller then assumes responsibility for releasing the STGMEDIUM structure.
Obtains data from a source data object. This method is called by a data consumer. It renders the data described in the specified FORMATETC structure and transfers it through the specified STGMEDIUM structure. The caller then assumes responsibility for releasing the STGMEDIUM structure.
Obtains data from a source data object. This method, which is called by a data consumer, differs from the IDataObject.GetData method in that the caller must allocate and free the specified storage medium.
Obtains data from a source data object. This method, which is called by a data consumer, differs from the IDataObject.GetData method in that the caller must allocate and free the specified storage medium.
Determines whether the data object is capable of rendering the data described in the FORMATETC structure. Objects attempting a paste or drop operation can call this method before calling IDataObject.GetData to get an indication of whether the operation will be successful.
Determines whether the data object is capable of rendering the data described in the FORMATETC structure. Objects attempting a paste or drop operation can call this method before calling IDataObject.GetData to get an indication of whether the operation will be successful.
Transfers data to the object that implements this method. This method is called by an object that contains a data source.
Transfers data to the object that implements this method. This method is called by an object that contains a data source.
Top