AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

INT32 MgLayerGroupCollection::IndexOf ( MgLayerGroup value  ) 

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.