MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends

Gets the layer at the specified index.

.NET Syntax
MgLayerBase GetItem(int index);
Java Syntax
MgLayerBase GetItem(int index);
PHP Syntax
MgLayerBase GetItem(int index);
Parameters:
index(int) Index of the layer to get.
Returns:
Returns the layer.
Exceptions:
MgOutOfRangeExceptionif the index is invalid.