Share via


DataObject Class

Methods | This Package | All Packages

Defines a basic data transfer object.

package com.ms.wfc.app

public class DataObject
implements
IDataObject, IOleDataObject

Remarks

The DataObject class takes any object that implements the IDataObject interface and provides the implementation for the IOleDataObject interface. The DataObject class also takes any object that implements the IOleDataObject interface and exposes a IDataObject object for it. You can use this class to store arbitrary data and expose both the IDataObject and IOleDataObject interfaces. The DataObject class is typically used to retrieve and store data on the Clipboard and also in drag-and-drop operations.