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
virtual MgFeatureReader* MgSelectionBase::GetSelectedFeatures | ( | MgLayerBase * | layer,
|  | CREFSTRING | className,
|  | MgStringCollection * | propertyNames |
| ) |  |  | `[virtual]`
Returns the selected feature data for the specified feature class. .NET Syntax
`MgFeatureReader GetSelectedFeatures(MgLayerBase layer, string className, MgStringCollection propertyNames);`
Java Syntax
`MgFeatureReader GetSelectedFeatures(MgLayerBase layer, String className, MgStringCollection propertyNames);`
PHP Syntax
`MgFeatureReader GetSelectedFeatures(MgLayerBase layer, string className, MgStringCollection propertyNames);`
  Parameters:
  | layer | (MgLayerBase) Input layer.
  | className | (String/string) Input feature class name.
  | propertyNames | (MgStringCollection) Properties to return for selected features.
Returns: Returns a feature reader containing all the features for the given feature class in this selection. Reimplemented in MgSelection.

Comments or suggestions? Send us feedback.