ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
SetLayerVisibility Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > MapFunctionality Class : SetLayerVisibility Method




layerID
ID of the layer.
visible
True to set to visible, false to set to not visible.
Sets the visibility of the layer.

Syntax

Visual Basic (Declaration) 
Public Sub SetLayerVisibility( _
   ByVal layerID As String, _
   ByVal visible As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As MapFunctionality
Dim layerID As String
Dim visible As Boolean
 
instance.SetLayerVisibility(layerID, visible)
C# 
public void SetLayerVisibility( 
   string layerID,
   bool visible
)

Parameters

layerID
ID of the layer.
visible
True to set to visible, false to set to not visible.

See Also

© 2010 All Rights Reserved.