Visual Basic Reference

Clear Method (DataObject Object)

See Also Example Applies To

Deletes the contents of the DataObject object.



The object placeholder represents an object expression that evaluates to an object in the Applies To list.


This method is available only for component drag sources. If Clear is called from a component drop target, an error is generated.

Most components support manual OLE drag and drop events, and some support automatic OLE drag and drop events.