ESRI.ArcGIS.ADF.Web
Query Method
See Also 
ESRI.ArcGIS.ADF.Web.Display.Graphics Namespace > GraphicsLayer Class : Query Method




queryFilter
Filter with the parameters for the query.
Queries a graphics layer for features matching the filter parameters.

Syntax

Visual Basic (Declaration) 
Public Function Query( _
   ByVal queryFilter As QueryFilter _
) As DataTable
Visual Basic (Usage)Copy Code
Dim instance As GraphicsLayer
Dim queryFilter As QueryFilter
Dim value As DataTable
 
value = instance.Query(queryFilter)
C# 
public DataTable Query( 
   QueryFilter queryFilter
)

Parameters

queryFilter
Filter with the parameters for the query.

Return Value

DataTable with features. Table may be a FeatureGraphicsLayer or ElementGraphicsLayer if search options includes returning geometries.

Remarks

Locates features that match the input parameters. A DataTable is returned with features found. If the QueryFilter 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.