This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities Interface > IGPUtilities.GetMapLayers Method (ArcObjects .NET 10.4 SDK) |
Returns an enumeration of the current layers in the application.
[Visual Basic .NET] Public Function GetMapLayers ( _ ) As IEnumLayer
[C#] public IEnumLayer GetMapLayers ( );
[C++]
HRESULT GetMapLayers(
IEnumLayer** ppLayers
);
[C++]
Parameters ppLayers [out, retval]
ppLayers is a parameter of type IEnumLayer