ArcGIS API for WPF - Library Reference
SetLayerVisibility Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > ISublayerVisibilitySupport Interface : SetLayerVisibility Method

layerID
The sub layer ID.
visibility
The sublayer visibility
Sets the sublayer visibility.

Syntax

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

Parameters

layerID
The sub layer ID.
visibility
The sublayer visibility

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.