Queries and returns the IDs of the features that meet the query filter selection criteria for the specified layer description.
QueryFeatureIDs2(string MapName, LayerDescription LayerDescription, QueryFilter QueryFilter)
Parameter |
Description |
MapName |
The name of the map (data frame) that contains the layer associated with the LayerDescription parameter. |
LayerDescription |
The description of the layer to query. |
QueryFilter |
An attribute or spatial query that defines the selection criteria for the layer associated with the LayerDescription parameter. |
Return Value
An FIDSet that contains an array of integers. Each integer represents a unique identifier for each feature (FID) in the layer queried. The map service assigns FIDs to each feature in every feature layer it contains. A SOAP exception will be thrown if the SQL expression in the query filter is invalid.
Remarks
Definitions applied to the LayerDescription input parameter using its DefinitionExpression property will filter the returned feature count.
Examples