Returns the count of the features that meet the query filter selection criteria for the specified layer description.
QueryFeatureCount2(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 LayerDescription 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 integer value indicating the number of features that meet the selection criteria. A SOAP exception will be thrown when the SQL expression in the query filter is invalid.
Remarks
Examples