ESRI.ArcGIS.ADF.Web.DataSources
Find Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources Namespace > IQueryFunctionality Interface : Find Method




mapFunctionalityName
Name of the map functionality. May be null for a particular implementation.
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) 
Function Find( _
   ByVal mapFunctionalityName As String, _
   ByVal findParameters As FindParameters _
) As DataTable()
Visual Basic (Usage)Copy Code
Dim instance As IQueryFunctionality
Dim mapFunctionalityName As String
Dim findParameters As FindParameters
Dim value() As DataTable
 
value = instance.Find(mapFunctionalityName, findParameters)
C# 
DataTable[] Find( 
   string mapFunctionalityName,
   FindParameters findParameters
)

Parameters

mapFunctionalityName
Name of the map functionality. May be null for a particular implementation.
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.