ESRI.ArcGIS.ADF.Web.DataSources | |
IQueryFunctionality Interface | |
Members Example See Also |
ESRI.ArcGIS.ADF.Web.DataSources Namespace : IQueryFunctionality Interface |
Visual Basic (Declaration) | |
---|---|
Public Interface IQueryFunctionality Inherits IGISFunctionality |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public interface IQueryFunctionality : IGISFunctionality |
C# | Copy Code |
---|---|
ESRI.ArcGIS.ADF.Web.DataSources.IMapFunctionality mapFunct = Map1.GetFunctionality(0); |
Visual Basic | Copy Code |
---|---|
Dim mapFunct As ESRI.ArcGIS.ADF.Web.DataSources.IMapFunctionality = Map1.GetFunctionality(0) |
IQueryFunctionality is used to query a GIS resource to find features in map layers that satisfy specific search criteria. These criteria may include attribute filters (where expression) and geometry filters (e.g., find features that intersect the input rectangle extent).
Typically the instance of a class that implements IQueryFunctionality is obtained by working with the Map control or MapResourceManager control on the Page. The Map.GetFunctionality() or Map.GetFunctionalities() will provide the default functionality (a MapFunctionality), from which you can obtain the Resource. Then from the resource you can obtain a query functionality object. See the example for an illustration.
Query functionality may be used without knowing the specific type of service (ArcGIS Server, ArcIMS, WMS, etc.) that implements the query ability. This enables writing generic code that will work with any type of service.
These classes implement IQueryFunctionality:
- ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.QueryFunctionality
- ESRI.ArcGIS.ADF.Web.DataSources.Graphics.QueryFunctionality
- ESRI.ArcGIS.ADF.Web.DataSources.IMS.QueryFunctionality
- ESRI.ArcGIS.ADF.Web.DataSources.OGCWMSService.QueryFunctionality
For more discussion of GIS resources and functionalities, see the topic Working with the Common Data Source API in the Developer Help (also available online at the ArcGIS Resource Center).