ArcGIS API for WPF - Library Reference
GetLayerVisibility Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > ArcGISTiledMapServiceLayer Class : GetLayerVisibility Method

layerID
The sub-layer ID.
Gets the sub-layer visibility.

Syntax

Visual Basic (Declaration) 
Public Function GetLayerVisibility( _
   ByVal layerID As Integer _
) As Boolean
C# 
public bool GetLayerVisibility( 
   int layerID
)

Parameters

layerID
The sub-layer ID.

Return Value

The sub-layer visibility

Remarks

For a tiled map service, the sublayer visibilities can't be changed so this method returns always the default visibility.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.