AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

bool MgLayerCollection::Remove ( MgLayerBase value  ) 

Removes a layer from the collection.

.NET Syntax
bool Remove(MgLayerBase value);
Java Syntax
bool Remove(MgLayerBase value);
PHP Syntax
bool Remove(MgLayerBase value);

Parameters:
value (MgLayerBase) Layer to be removed.
Returns:
Returns true if removal was successful.