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

IMSDHelper.GetLayers Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMSDHelper Interface > IMSDHelper.GetLayers Method
ArcGIS Developer Help

IMSDHelper.GetLayers Method

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
public IStringArray GetLayers (
    string mapPath
HRESULT GetLayers(
  BSTR mapPath
mapPath [in]

mapPath is a parameter of type BSTR

Product Availability

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

See Also

IMSDHelper Interface