AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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.