ClearData Method

Applies To   See Also

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

Syntax

oDataObject.ClearData

Remarks

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.