AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgFeatureReader* MgLayerBase::SelectFeatures ( MgFeatureQueryOptions options  )  [virtual]

Selects features from a feature source according to the criteria set in the MgFeatureQueryOptions argument The criteria are applied to all of the features in the feature source. If you want to apply the criteria to a subset of the features, use the MgFeatureService::SelectAggregate Method . See Filters and expressions .

.NET Syntax
virtual MgFeatureReader SelectFeatures(MgFeatureQueryOptions options);
Java Syntax
virtual MgFeatureReader SelectFeatures(MgFeatureQueryOptions options);
PHP Syntax
virtual MgFeatureReader SelectFeatures(MgFeatureQueryOptions options);

Parameters:
options (MgFeatureQueryOptions) MgFeatureQueryOptions instance containing all required filters for this select operation.
Returns:
Returns an MgFeatureReader containing the set of selected features.
Exceptions:
MgFeatureServiceException 
MgInvalidArgumentException 
MgFdoException