Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides access to predefined clipboard formats for use in data transfer operations.
Members
The IHTMLDataTransfer interface inherits from the IDispatch interface. IHTMLDataTransfer also has these types of members:
- Methods
- Properties
Methods
The IHTMLDataTransfer interface has these methods.
Method | Description |
---|---|
clearData | Removes one or more data formats from the clipboard through the dataTransfer object. For the clipboardData object, this method clears all formats. |
getData | Gets the data in the specified format from the clipboard through the dataTransfer object or the clipboardData object. |
setData | Assigns data in a specified format to the dataTransfer object or the clipboardData object. |
Properties
The IHTMLDataTransfer interface has these properties.
Property | Description |
---|---|
Sets or gets the type of drag-and-drop operation and the type of cursor to display. |
|
Sets or gets which data transfer operations are allowed for the object on the source element. |
Remarks
The IHTMLDataTransfer interface provides access to a data object. Get the IDataObject interface by calling QueryInterface for the IServiceProvider interface, and then calling IServiceProvider::QueryService with a service identifier of IID_IDataObject.
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |