ESRI.ArcGIS.ADF.Web.DataSources
SetLayerVisibility Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources Namespace > IMapFunctionality Interface : 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) 
Sub SetLayerVisibility( _
   ByVal layerID As String, _
   ByVal visible As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As IMapFunctionality
Dim layerID As String
Dim visible As Boolean
 
instance.SetLayerVisibility(layerID, visible)
C# 
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.