MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
void MgSelectionBase::AddFeatures ( MgLayerBase layer,
MgFeatureReader features,
INT32  nFeatures 
)

Add nFeatures to selection set from the FeatureReader. Specify nFeatures = 0 for all features in reader. Internal identity mapping for layer dictates the properties used.

.NET Syntax
void AddFeatures(MgLayerBase layer, MgFeatureReader features, int nFeatures);
Java Syntax
void AddFeatures(MgLayerBase layer, MgFeatureReader features, int nFeatures);
PHP Syntax
void AddFeatures(MgLayerBase layer, MgFeatureReader features, int nFeatures);