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

Specifies which method to use when using Identify. "Top": Only the topmost visible layer is identified. "Visible": All visible layers are identified. "All": All layers are identified, even if they are not visible. Performance note: if your service has many layers, a request using "All" will not perform well. A visible layer means you can see it in the map at the current extent. If a layer is turned off or not in range based on its scale dependency settings, it cannot be identified. To idenfity sub-layers that are not visible in the default map service definition, you may need to use the "All" option to return results.

Syntax

Visual Basic (Declaration) 
Public Property LayerOption As LayerOption
C# 
public LayerOption LayerOption {get; set;}

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.