Queries and returns the ObjectIDs of the features or objects that satisfy the search criteria.
QueryIDs(int LayerOrTableID, string DefinitionExpression, QueryFilter QueryFilter)
Parameter |
Description |
LayerOrTableID |
The identifier of a layer or table. |
DefinitionExpression |
A type’s definition expression. |
QueryFilter |
Describes the features/objects to query based on attribute expressions, time and/or spatial filters. |
Return Value
An array of integer values which are the ObjectIDs of the features or objects returned by the query.
Remarks
This method is useful when a query criterion returns too many objects for the client application to process or wait for. In such situations, a client can obtain the ObjectIDs of the features or objects that satisfy the criteria expressed in DefinitionExpression and QueryFilter. The client can then divide the object ids into smaller sets and query the service for each set using the Query method and passing in each ID set to the method's
QueryFilter.FIDSet property.