ESRI.ArcGIS.ADF.Web.DataSources.Graphics
Identify Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.Graphics Namespace > QueryFunctionality Class : Identify Method




mapFunctionalityName
Name of the map functionality. If null, queries the GraphicsDataSet of the current graphics resource.
geometry
Geometry that defines the location to find features.
tolerance
The percentage expansion around an input point using the graphics data source’s full extent.
option
Whether to identify all layers, visible layers, or top layer.
layers
List of layers to identify on.
Identifies features in the input layers based on the input geometry.

Syntax

Visual Basic (Declaration) 
Public Function Identify( _
   ByVal mapFunctionalityName As String, _
   ByVal geometry As Geometry, _
   ByVal tolerance As Integer, _
   ByVal option As IdentifyOption, _
   ByVal layers() As String _
) As DataTable()
Visual Basic (Usage)Copy Code
Dim instance As QueryFunctionality
Dim mapFunctionalityName As String
Dim geometry As Geometry
Dim tolerance As Integer
Dim option As IdentifyOption
Dim layers() As String
Dim value() As DataTable
 
value = instance.Identify(mapFunctionalityName, geometry, tolerance, option, layers)
C# 
public DataTable[] Identify( 
   string mapFunctionalityName,
   Geometry geometry,
   int tolerance,
   IdentifyOption option,
   string[] layers
)

Parameters

mapFunctionalityName
Name of the map functionality. If null, queries the GraphicsDataSet of the current graphics resource.
geometry
Geometry that defines the location to find features.
tolerance
The percentage expansion around an input point using the graphics data source’s full extent.
option
Whether to identify all layers, visible layers, or top layer.
layers
List of layers to identify on.

Return Value

Array of DataTable with features. Tables may be FeatureGraphicsLayer or ElementGraphicsLayer if search options includes returning geometries.

See Also

© 2010 All Rights Reserved.