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


IGPUtilities.GetMapLayers Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities Interface > IGPUtilities.GetMapLayers Method
ArcGIS Developer Help

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(
void
);

Product Availability

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

See Also

IGPUtilities Interface