![]() ![]() |
ESRI.ArcGIS.ADF.Web.DataSources | |
Query Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.DataSources Namespace > IQueryFunctionality Interface : Query Method |
- mapFunctionalityName
- Name of the map functionality. If null, queries the GraphicsDataSet of the current graphics resource.
- layerID
- ID of the layer to query.
- queryFilter
- Filter with the parameters for the query.
Visual Basic (Declaration) | |
---|---|
Function Query( _ ByVal mapFunctionalityName As String, _ ByVal layerID As String, _ ByVal queryFilter As ESRI.ArcGIS.ADF.Web.QueryFilter _ ) As DataTable |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As IQueryFunctionality Dim mapFunctionalityName As String Dim layerID As String Dim queryFilter As ESRI.ArcGIS.ADF.Web.QueryFilter Dim value As DataTable value = instance.Query(mapFunctionalityName, layerID, queryFilter) |
C# | |
---|---|
DataTable Query( string mapFunctionalityName, string layerID, ESRI.ArcGIS.ADF.Web.QueryFilter queryFilter ) |
Parameters
- mapFunctionalityName
- Name of the map functionality. If null, queries the GraphicsDataSet of the current graphics resource.
- layerID
- ID of the layer to query.
- 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.Locates features in one layer 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.
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