ArcGIS Runtime SDK for WPF - Library Reference
Query Class Members
See Also  Properties 
ESRI.ArcGIS.Client.Tasks Namespace : Query Class


The following tables list the members exposed by Query.

Public Constructors

 NameDescription
public ConstructorQuery ConstructorConstructor.  
Top

Public Properties

 NameDescription
public PropertyGdbVersionGets or sets the geodatabase version on which the query will be performed. This property is applicable to feature services only.  
public PropertyGeometryThe geometry to apply to the spatial filter. The spatial relationship as specified by Query.SpatialRelationship is applied to this geometry while performing the query. The valid geometry types are: MapPoint, Polyline, Polygon, Envelope, or MultiPoint.  
public PropertyGroupByFieldsForStatisticsGets or sets the group by fields for statistics. This field will contain a list of fields to group by during statistic analysis. If an out field is not being used in the OutStatistics calculation it should be placed here. This property works together with OutStatistics.  
public PropertyMaxAllowableOffsetGets or sets the max allowable offset. This option can be used to specify the maximum allowable offset to be used for generalizing geometries returned by the query operation.  
public PropertyObjectIDsAn array of integer ObjectID values of the features in the feature service to Query for.  
public PropertyOrderByFieldsGets or sets the order by fields. Used to indicate a sorting order for the results of the query task.  
public PropertyOutFieldsAttribute fields to include in the FeatureSet.  
public PropertyOutSpatialReferenceThe SpatialReference for the returned geometry. If not specified, the geometry is returned in the Map.SpatialReference.  
public PropertyOutStatisticsGets or sets the out statistics. This field will contain a collection of field to perform statistic analysis on during the query task.  
public PropertyRelationParameterGets or sets the SpatialRelDescription string that can be applied while performing the query operation.  
public PropertyReturnDistinctValuesGets or sets a value indicating whether distinct values will be returned.  
public PropertyReturnGeometryIf true, each feature in the FeatureSet includes the geometry. Since the geometry makes up a significant portion of the response, only use when you plan to use the geometry of the feature, for example, to include them on a map. By default, this is false.  
public PropertyReturnIdsOnlyIf true, the response only populate the ObjectIDs property of the feature set. The default is false.  
public PropertyReturnMIf true, M values will be included in the results if the features have M values. Otherwise M values are not returned. The default is false.  
public PropertyReturnZIf true, Z values will be included in the results if the features have Z values. Otherwise Z values are not returned. The default is false.  
public PropertySourceGets or sets the layer source if querying a dynamic layer.  
public PropertySpatialRelationshipThe spatial relationship to be applied on the input geometry while performing the query. The default is esriSpatialRelIntersects.  
public PropertyTextShorthand literal search on the text for the 'Display Field' that is specified by the ArcGIS Server feature service.  
public PropertyTimeExtentGets or sets the time instant or the time extent to query.  
public PropertyTimeOptionGets or sets the time option if querying a dynamic layer.  
public PropertyWhereA where clause for the query. Any legal SQL where clause operating on the fields in the layer is allowed, for example: where=POP2000 > 350000 .  
Top

See Also

© ESRI, Inc. All Rights Reserved.