Clear Method (DataObject Object)

       

Deletes the contents of the DataObject object.

Syntax

object.Clear

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

Remarks

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.