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


IMapServerGroupLayer.ShowLayers Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerGroupLayer Interface > IMapServerGroupLayer.ShowLayers Method
ArcGIS Developer Help

IMapServerGroupLayer.ShowLayers Method

Shows/ hides the layers given layer ids.

[Visual Basic .NET]
Public Sub ShowLayers ( _
    ByVal Show As Boolean, _
    ByVal layerIds As ILongArray _
)
[C#]
public void ShowLayers (
    bool Show,
    ILongArray layerIds
);
[C++]
HRESULT ShowLayers(
  VARIANT_BOOL Show,
  ILongArray* layerIds
);
[C++]
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