MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
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);