Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Add
AddFeatureIdDouble
AddFeatureIdInt16
AddFeatureIdInt32
AddFeatureIdInt64
AddFeatureIds
AddFeatureIdString
AddFeatures
Contains
FromXml
GenerateFilter
GetClass
GetClasses
GetExtents
GetLayers
GetResourceName
GetSelectedFeatures
GetSelectedFeatures
GetSelectedFeaturesCount
MgSelectionBase
MgSelectionBase
Open
Save
ToXml
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);`

Comments or suggestions? Send us feedback.