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
bool MgSelectionBase::Contains | ( | MgLayerBase * | layer,
|  | CREFSTRING | className |
| ) |  |  |
Does a particular layer and class have selections. Remarks: The class name can be obtained from the layer with MgLayerBase::GetFeatureClassName. .NET Syntax
`bool Contains(MgLayerBase layer, string className);`
Java Syntax
`boolean Contains(MgLayerBase layer, String className);`
PHP Syntax
`bool Contains(MgLayerBase layer, string className);`

Comments or suggestions? Send us feedback.