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


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

IDataObjectHelper.CanGetNames Method

Indicates if Esri names are available in the DataObject.

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

Product Availability

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

Description

Indicates whether an IEnumName object can be aquired from the DataObject. Use the IEnumName object to enumerate over a set of IName objects. This is typically used when dropping data from ArcCatalog onto the PageLayoutControl or MapControl. 

See Also

IDataObjectHelper Interface