ArcObjects Library Reference (SystemUI)  

IDataObjectHelper Interface

Provides access to members for OLE drag and drop.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Provides helper methods and properties for retrieving data from an IDataObject interface. IDataObject is a windows standard interface used for dragging and droping data. This is available directly through the InternalObject property.

Members

Description
Method CanGetFiles Indicates if files are available in the DataObject.
Method CanGetNames Indicates if ESRI names are available in the DataObject.
Method GetData If specified DataObject format can be retrieved, returns the data as safe array of bytes.
Method GetFiles If the DataObject format supports files, returns a safe array of strings representing filenames.
Method GetFormat Indicates if the DataObject supports the specified format.
Method GetNames If the DataObject format supports ESRI names, returns an enumerator of names.
Read/write property InternalObject Provides access to the internal IDataObject pointer.

CoClasses that implement IDataObjectHelper

CoClasses and Classes Description
DataObjectHelper Helper class for OLE drag and drop.

Remarks

Typically used when dropping data onto the PageLayoutControl and MapControl from other applications.

.NET Related Topics

How to drop data onto the MapControl |