ArcObjects Library Reference (SystemUI)  

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

Parameters

ppNames [out, retval]

  ppNames is a parameter of type IEnumName

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