ArcGIS API for WPF - Library Reference
LayerIds Property
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > IdentifyParameters Class : LayerIds Property

Optional. When layer Ids are specified, the server treats it as a boolean "AND" operator. For example, if the LayerOption Visible is specified and the LayerIds are set to [2,5], only layers with Ids 2 and 5, if visible, are identified. To idenfity sub-layers that are not visible in the default map service definition, you may need to use the "All" LayerOption to return results.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property LayerIds As List(Of Integer)
C# 
public List<int> LayerIds {get;}

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.