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


IDataObjectHelper.CanGetNames Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (SystemUI)  

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

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

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