The following tables list the members exposed by Query.
Name | Description | |
---|---|---|
Query Constructor | Constructor. |
Name | Description | |
---|---|---|
Geometry | 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. | |
MaxAllowableOffset | 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. | |
ObjectIDs | Object ids to query for. If object ids are specified, other query parameters like Where are ignored. | |
OutFields | Attribute fields to include in the FeatureSet. | |
OutSpatialReference | The 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 | |
OutSpatialReferenceWKID | 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. | |
RelationParameter | Gets or sets the spatial relate function that can be applied while performing the query operation | |
ReturnGeometry | 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. | |
ReturnIdsOnly | If true, the response only populate the ObjectIDs property of the feature set. The default is false. | |
SpatialRelationship | The spatial relationship to be applied on the input geometry while performing the query. The default is esriSpatialRelIntersects. | |
Text | 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. | |
TimeExtent | Gets or sets the time instant or the time extent to query. | |
Where | 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 . |