This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > ID > IDataObjectHelper Interface > IDataObjectHelper.CanGetFiles Method (ArcObjects .NET 10.4 SDK) |
Indicates if files are available in the DataObject.
[Visual Basic .NET] Public Function CanGetFiles ( _ ) As Boolean
[C#] public bool CanGetFiles ( );
[C++]
HRESULT CanGetFiles(
VARIANT_BOOL* CanGetFiles
);
[C++]
Parameters CanGetFiles [out, retval] CanGetFiles is a parameter of type VARIANT_BOOL
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.