AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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);