AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

INT32 MgSelectionBase::GetSelectedFeaturesCount ( MgLayerBase layer,
CREFSTRING  className 
)

Returns the number of selected features.

.NET Syntax
int GetSelectedFeaturesCount(MgLayerBase layer, string className);
Java Syntax
int GetSelectedFeaturesCount(MgLayerBase layer, String className);
PHP Syntax
int GetSelectedFeaturesCount(MgLayerBase layer, string className);

Parameters:
layer (MgLayerBase) Input layer.
className (String/string) Input feature class name.
Returns:
Returns Count of all selected features.
Note:
This method is provided to obtain feedback from customers. In future releases it may change in functionality or be deprecated.