ESRI.ArcGIS.ADF.Web.DataSources.Graphics
Identify Method
See Also  Send Feedback
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 ESRI.ArcGIS.ADF.Web.Geometry.Geometry, _
   ByVal tolerance As Integer, _
   ByVal option As ESRI.ArcGIS.ADF.Web.IdentifyOption, _
   ByVal layers() As String _
) As DataTable()
Visual Basic (Usage)Copy Code
Dim instance As QueryFunctionality
Dim mapFunctionalityName As String
Dim geometry As ESRI.ArcGIS.ADF.Web.Geometry.Geometry
Dim tolerance As Integer
Dim option As ESRI.ArcGIS.ADF.Web.IdentifyOption
Dim layers() As String
Dim value() As DataTable
 
value = instance.Identify(mapFunctionalityName, geometry, tolerance, option, layers)
C# 
public DataTable[] Identify( 
   string mapFunctionalityName,
   ESRI.ArcGIS.ADF.Web.Geometry.Geometry geometry,
   int tolerance,
   ESRI.ArcGIS.ADF.Web.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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.