Web API Reference MapGuide Open Source

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:
MgIndexOutOfRangeException if the specified index is out of range.