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




mapFunctionalityName
Name of the map functionality. May be null (Nothing) to use the current functionality.
geometry
Features will be found in or near this geometric shape.
tolerance
The tolerance value is specified in pixels around input geometry. The value is used in a call to the Identify method on a ESRI.ArcGIS.ADF.ArcGISServer.MapServerProxy. The current extent of the map and the map size in pixels are used as input parameters to the method to the MapServerProxy.Identify method.
option
Whether to find features in all layers, only in visible layers, or in only the top-most layer.
layers
Array of IDs of layer to search for features.
Locates map features in or near 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. May be null (Nothing) to use the current functionality.
geometry
Features will be found in or near this geometric shape.
tolerance
The tolerance value is specified in pixels around input geometry. The value is used in a call to the Identify method on a ESRI.ArcGIS.ADF.ArcGISServer.MapServerProxy. The current extent of the map and the map size in pixels are used as input parameters to the method to the MapServerProxy.Identify method.
option
Whether to find features in all layers, only in visible layers, or in only the top-most layer.
layers
Array of IDs of layer to search for features.

Return Value

An array of DataTable objects with features found, which are typically GraphicsLayers that may be displayed on a Map.

See Also

© 2010 All Rights Reserved.