MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
void MgLayerCollection::RemoveAt ( INT32  index)

Removes a layer from the collection at the specified index.

.NET Syntax
void RemoveAt(int index);
Java Syntax
void RemoveAt(int index);
PHP Syntax
void RemoveAt(int index);
Parameters:
index(int) Index of the layer to be removed.
Returns:
Returns nothing.
Exceptions:
MgIndexOutOfRangeExceptionif the specified index is out of range.