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




layerID
ID of the graphics layer to set visibility for.
visible
True to set to visible, false to set to not visible.
Sets the visibility of the input 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 graphics layer to set visibility for.
visible
True to set to visible, false to set to not visible.

See Also

© 2010 All Rights Reserved.