Partager via


ClearData Method

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

oDataObject.ClearData

Remarks

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.

See Also

Reference

GetData Method

GetFormat Method

OLE Drag-and-Drop

SetData Method

SetFormat Method

Other Resources

Methods (Visual FoxPro)

Language Reference (Visual FoxPro)