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


IMSDHelper.GetSubLayers Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMSDHelper.GetSubLayers Method

Given the layer's catalog path, returns the catalog path to its sub layers, if it has any.

[Visual Basic .NET]
Public Function GetSubLayers ( _
    ByVal layerPath As String _
) As IStringArray
[C#]
public IStringArray GetSubLayers (
    string layerPath
);
[C++]
HRESULT GetSubLayers(
  BSTR layerPath,
  IStringArray** ppLayerPaths
);
[C++]

Parameters layerPath [in] layerPath is a parameter of type BSTR ppLayerPaths [out, retval]
ppLayerPaths is a parameter of type IStringArray

Product Availability

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

See Also

IMSDHelper Interface