AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

INT32 MgLayerCollection::GetCount (  ) 

Gets the number of layers in the collection.

.NET Syntax
int GetCount();
Java Syntax
int GetCount();
PHP Syntax
int GetCount();

Returns:
Returns the number of layers.