AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgDataReader* MgLayerBase::SelectAggregate ( MgFeatureAggregateOptions options  )  [virtual]

Selects groups of features from a feature source and applies filters to each of the groups according to the criteria set in the MgFeatureAggregateOptions argument. If you want to apply the criteria to all features without grouping them, use the MgFeatureService::SelectFeatures Method . See Filters and expressions .

.NET Syntax
virtual MgDataReader SelectAggregate(MgFeatureAggregateOptions options);
Java Syntax
virtual MgDataReader SelectAggregate(MgFeatureAggregateOptions options);
PHP Syntax
virtual MgDataReader SelectAggregate(MgFeatureAggregateOptions options);

Parameters:
options (MgFeatureAggregateOptions) An MgFeatureAggregateOptions instance containing all the criteria and filters required for this select operation.
Returns:
Returns an MgDataReader containing the group values.
Exceptions:
MgFeatureServiceException 
MgInvalidArgumentException 
MgFdoException