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.
Clears all data and data formats from the OLE drag-and-drop DataObject object. Available at run time only.
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.
See Also
GetData Method | GetFormat Method | OLE Drag-and-Drop Overview | SetData Method | SetFormat Method
Applies To: DataObject Object