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


The following tables list the members exposed by Query.

Public Constructors

 NameDescription
public ConstructorQuery Constructor Constructor.  
Top

Public Properties

 NameDescription
public PropertyGeometry The geometry to apply to the spatial filter. The spatial relationship as specified by spatialRelationship is applied to this geometry while performing the query. The valid geometry types are Envelope, Point, Multipoint, Polyline, or Polygon.  
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 Object ids to query for. If object ids are specified, other query parameters like Where are ignored.  
public PropertyOutFields Attribute fields to include in the FeatureSet.  
public PropertyOutSpatialReferenceThe spatial reference for the returned geometry. If not specified, the geometry is returned in the spatial reference of the containing map or the spatial reference. specified in OutSpatialReferenceWKID  
public PropertyOutSpatialReferenceWKID

Note: This API is now obsolete. Please use the Query.OutSpatialReference property.

The well-known ID of the spatial reference for the returned geometry. If not specified, the geometry is returned in the spatial reference of the containing map.

 
public PropertyRelationParameter Gets or sets the spatial relate function 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 PropertySpatialRelationship The spatial relationship to be applied on the input geometry while performing the query. The default is esriSpatialRelIntersects.  
public PropertyText Shorthand for a literal search text on the display field, equivalent to: where <displayField> like '%%'. The text is case sensitive. This parameter is ignored if the where parameter is specified. You can determine what the display field is for a layer using the ArcGIS Services Directory.  
public PropertyTimeExtent Gets or sets the time instant or the time extent to query.  
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.