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




mapFunctionalityName
Name of the map functionality. If null, queries the GraphicsDataSet of the current graphics resource.
findParameters
Parameters for querying the data set, including layers and fields to query, and where expression parameters.
Finds features in the resource based on input parameters.

Syntax

Visual Basic (Declaration) 
Public Function Find( _
   ByVal mapFunctionalityName As String, _
   ByVal findParameters As FindParameters _
) As DataTable()
Visual Basic (Usage)Copy Code
Dim instance As QueryFunctionality
Dim mapFunctionalityName As String
Dim findParameters As FindParameters
Dim value() As DataTable
 
value = instance.Find(mapFunctionalityName, findParameters)
C# 
public DataTable[] Find( 
   string mapFunctionalityName,
   FindParameters findParameters
)

Parameters

mapFunctionalityName
Name of the map functionality. If null, queries the GraphicsDataSet of the current graphics resource.
findParameters
Parameters for querying the data set, including layers and fields to query, and where expression parameters.

Return Value

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

Remarks

Find locates features in one or more layers that match the input parameters. For each layer where features are found, a DataTable is included in the returned array. If the FindParameters specifies an option to return feature geometries, the DataTable will be either a FeatureGraphicsLayer or a ElementGraphicsLayer, depending on the type of layer queried.

See Also

© 2010 All Rights Reserved.