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.