Links are not active on this page.
 ClearData Method

Clears all data and data formats from the OLE drag-and-drop DataObject object. Available at run time only.

oDataObject.ClearData

Expand imageRemarks

Applies To: DataObject Object

The ClearData method can only be executed in the OLEStartDrag event; calling the ClearData method from the OLEDragDrop or OLE DragOver events generates an error.

Expand imageSee Also