ESRI.ArcGIS.ADF.Web.DataSources.IMS
Query Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.IMS Namespace > QueryFunctionality Class : Query Method




mapFunctionalityName
Name of the functionality. If null (Nothing), queries the map functionality associated with the current query functionality.
layerID
ID of the layer to query.
queryFilter
Filter with criteria to query the layer.
Performs a query on the layer to find features satisfying the query filter.

Syntax

Visual Basic (Declaration) 
Public Function Query( _
   ByVal mapFunctionalityName As String, _
   ByVal layerID As String, _
   ByVal queryFilter As QueryFilter _
) As DataTable
Visual Basic (Usage)Copy Code
Dim instance As QueryFunctionality
Dim mapFunctionalityName As String
Dim layerID As String
Dim queryFilter As QueryFilter
Dim value As DataTable
 
value = instance.Query(mapFunctionalityName, layerID, queryFilter)
C# 
public DataTable Query( 
   string mapFunctionalityName,
   string layerID,
   QueryFilter queryFilter
)

Parameters

mapFunctionalityName
Name of the functionality. If null (Nothing), queries the map functionality associated with the current query functionality.
layerID
ID of the layer to query.
queryFilter
Filter with criteria to query the layer.

Return Value

DataTable with features found, typically a GraphicsLayer that may be displayed on a Map.

See Also

© 2010 All Rights Reserved.