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




mapFunctionalityName
Name of the map functionality.
layerID
ID of the layer whose visibility to set.
visible
True to set visible, false to set not visible.
Sets the layer visibility

Syntax

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

Parameters

mapFunctionalityName
Name of the map functionality.
layerID
ID of the layer whose visibility to set.
visible
True to set visible, false to set not visible.

See Also

© 2010 All Rights Reserved.