|
|
|
DataObject.Clear Method |
Clears all data and formats in a DataObject object.
Syntax
VB.NET |
object.Clear() |
||
VB |
object.Clear |
||
C#.NET |
void object.Clear(); |
||
VC++ |
HRESULT object->Clear(); |
||
C |
HRESULT object->raw_Clear(); |
||
Delphi |
procedure object.Clear(); |
object
A DataObject object.
Comments
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