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


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

IDataObjectHelper.GetFiles Method

If the DataObject format supports files, returns a safe array of strings representing filenames.

[Visual Basic .NET]
Public Function GetFiles ( _
) As Object
[C#]
public object GetFiles (
);
[C++]
HRESULT GetFiles(
void
);

Product Availability

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

Description

Use this method when CanGetFiles returns true. Iterate through the safe array to retrieve a list of filenames. This is typically used when data is being dropped onto the PageLayoutControl or MapControl from Windows Explorer.

Errors Returned

1028 800A0404: The suppllied name object could not be created by any of the available layer factories 

See Also

IDataObjectHelper Interface