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


IGPUtilities.GetMapLayers Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPUtilities.GetMapLayers Method

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

Product Availability

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

See Also

IGPUtilities Interface