ArcGIS API for Windows Phone - Library Reference
SetLayerVisibility Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > ArcGISDynamicMapServiceLayer Class : SetLayerVisibility Method

layerID
The sublayer ID.
visible
The sublayer visibility.
Sets the sublayer visibility.

Syntax

Visual Basic (Declaration) 
Public Sub SetLayerVisibility( _
   ByVal layerID As Integer, _
   ByVal visible As Boolean _
) 
C# 
public void SetLayerVisibility( 
   int layerID,
   bool visible
)

Parameters

layerID
The sublayer ID.
visible
The sublayer visibility.

Requirements

Target Platforms:Windows Phone 7

See Also

© ESRI, Inc. All Rights Reserved.