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


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

IDataObjectHelper.GetNames Method

If the DataObject format supports Esri names, returns an enumerator of names.

[Visual Basic .NET]
Public Function GetNames ( _
) As IEnumName
[C#]
public IEnumName GetNames (
);
[C++]
HRESULT GetNames(
void
);

Product Availability

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

Description

Use this method when CanGetNames returns true. Use the IEnumName object to enumerate over a set of IName objects. This is typically used when data is being dropped onto the PageLayoutControl or MapControl from ArcCatalog.

Errors Returned

1028 800A0404: The suppllied name object could not be created by any of the available layer factories 

See Also

IDataObjectHelper Interface