Web API Reference MapGuide Open Source

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.