ArcGIS API for Silverlight - Library Reference
Query Class Properties
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace : Query Class


For a list of all members of this type, see Query members.

Public Properties

 NameDescription
public PropertyGdbVersion Gets 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 PropertyGroupByFieldsForStatistics Gets 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 PropertyMaxAllowableOffset Gets 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 PropertyObjectIDs An array of integer ObjectID values of the features in the feature service to Query for.  
public PropertyOrderByFields Gets or sets the order by fields. Used to indicate a sorting order for the results of the query task.  
public PropertyOutFields Attribute 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 PropertyOutStatistics Gets 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 PropertyReturnGeometry If 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 PropertyReturnIdsOnly If 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 PropertySource Gets or sets the layer source if querying a dynamic layer.  
public PropertySpatialRelationship The spatial relationship to be applied on the input geometry while performing the query. The default is esriSpatialRelIntersects.  
public PropertyText Shorthand literal search on the text for the 'Display Field' that is specified by the ArcGIS Server feature service.  
public PropertyTimeExtent Gets or sets the time instant or the time extent to query.  
public PropertyTimeOption Gets or sets the time option if querying a dynamic layer.  
public PropertyWhere A 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.