This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMSDHelper Interface > IMSDHelper.GetLayers Method (ArcObjects .NET 10.5 SDK) |
Given the map's catalog path, returns the catalog path for all layers in the map.
[Visual Basic .NET] Public Function GetLayers ( _ ByVal mapPath As String _ ) As IStringArray
[C#] public IStringArray GetLayers ( string mapPath );
[C++]
HRESULT GetLayers(
BSTR mapPath,
IStringArray** ppLayerPaths
);
[C++]
Parameters mapPath [in] mapPath is a parameter of type BSTR ppLayerPaths [out, retval]
ppLayerPaths is a parameter of type IStringArray