IMapServerGroupLayer.ShowLayers Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IMapServerGroupLayer.ShowLayers Method

Shows/ hides the layers given layer ids.

[Visual Basic .NET]
Public Sub ShowLayers ( _
    ByVal Show As Boolean, _
    ByVal layerIds As ILongArray _
public void ShowLayers (
    bool Show,
    ILongArray layerIds
HRESULT ShowLayers(
  ILongArray* layerIds

Parameters Show [in]
Show is a parameter of type bool layerIds [in]
layerIds is a parameter of type ILongArray*

Product Availability

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

See Also

IMapServerGroupLayer Interface