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

.NET Related Topics

How to drop data onto the MapControl |