AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual void MgLayerBase::SetName ( CREFSTRING  name  )  [virtual]

Sets the name of the layer.

Remarks:
The name must be unique in MgMapBase. An exception will be thrown when this layer is added to MgMapBase if the name already exists.
.NET Syntax
void SetName(string name);
Java Syntax
void SetName(String name);
PHP Syntax
void SetName(string name);

Parameters:
name (String/string) Layer name.