ESRI.ArcGIS.ADF.Web.DataSources
Identify Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources Namespace > IQueryFunctionality Interface : Identify Method




mapFunctionalityName
Name of the map functionality. May be null for some implementations.
geometry
Geometry that defines the location to find features.
tolerance
In general, this value specifies the distance around the geometry to include in the search. How the value is used depends on the data source implementation. As a result, the units of the value may be specified in pixels, map units, percentage, etc.
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) 
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 IQueryFunctionality
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# 
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. May be null for some implementations.
geometry
Geometry that defines the location to find features.
tolerance
In general, this value specifies the distance around the geometry to include in the search. How the value is used depends on the data source implementation. As a result, the units of the value may be specified in pixels, map units, percentage, etc.
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.