Clears all data and formats in a DataObject object.
| VB | object.Clear |
object
The Clear method clears all data and formats in a DataObject object.
This method is available only for OLE drag sources. If Clear is called from a drop target component, an error is generated.
See Also DataObject Object | Object Hierarchy