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


IDataObjectHelper.CanGetFiles Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (SystemUI)  

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(
  VARIANT_BOOL* CanGetFiles
);
[C++]

Parameters CanGetFiles [out, retval] CanGetFiles is a parameter of type VARIANT_BOOL

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