This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > ID > IDataObjectHelper Interface > IDataObjectHelper.GetNames Method (ArcObjects .NET 10.5 SDK) |
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(
IEnumName** ppNames
);
[C++]
Parameters ppNames [out, retval]
ppNames is a parameter of type IEnumName
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.
1028 800A0404: The suppllied name object could not be created by any of the available layer factories