Visual Basic Reference

Visual Studio 6.0

Clear Method (DataObject Object)

See Also    Example    Applies To

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.

Show: