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


IDataObjectHelper.CanGetFiles Method (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 > IDataObjectHelper.CanGetFiles Method
ArcGIS Developer Help

IDataObjectHelper.CanGetFiles Method

Indicates if files are available in the DataObject.

[Visual Basic .NET]
Public Function CanGetFiles ( _
) As Boolean
[C#]
public bool CanGetFiles (
);
[C++]
HRESULT CanGetFiles(
void
);

Product Availability

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

Description

Indicates whether a safe array of filenames can be aquired from the DataObject. Iterate through the array to retrieve a list of filenames. This is typically used when dropping data from Windows Explorer onto the PageLayoutControl or MapControl.

See Also

IDataObjectHelper Interface