MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends

Gets the index of the specified layer group in the collection.

.NET Syntax
int IndexOf(MgLayerGroup value);
Java Syntax
int IndexOf(MgLayerGroup value);
PHP Syntax
int IndexOf(MgLayerGroup value);
Parameters:
value(MgLayerBase) MgLayerGroup to search for.
Returns:
Returns the layer group's index if the collection contains the specified layer group, or false (-1) otherwise.