This document is archived and information here might be outdated.  Recommended version.


IDataObjectHelper Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > ID > IDataObjectHelper Interface
ArcGIS Developer Help

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

Name 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.

Classes that implement IDataObjectHelper

Classes Description
DataObjectHelper Helper class for OLE drag and drop.

Remarks

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