ArcObjects Library Reference  (Carto)    

IMapServerGroupLayer.ShowLayers Method

Shows/ hides the layers given layer ids.

[Visual Basic 6.0]
Sub ShowLayers(
    ByVal show As Boolean, _
    ByVal layerIds As ILongArray _
)
[Visual Basic .NET]
Public Sub ShowLayers ( _
    ByVal show As Boolean, _
    ByVal layerIds As ILongArray _
)
[C#]
public void ShowLayers (
    bool show,
    ILongArray layerIds
);
[Java]
public void showLayers (
    Boolean show,
    ILongArray layerIds
)
throws
    IOException,
    AutomationException
[C++]
HRESULT ShowLayers(
  VARIANT_BOOL show,
  ILongArray* layerIds
);
[C++]

Parameters

show [in]

  show is a parameter of type VARIANT_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

 


Feedback Send feedback on this page