AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgLayerGroup* MgLayerGroupCollection::GetItem ( CREFSTRING  name  ) 

Returns the layer group with the specified name.

.NET Syntax
MgLayerGroup GetItem(string name);
Java Syntax
MgLayerGroup GetItem(String name);
PHP Syntax
MgLayerGroup GetItem(string name);

Parameters:
name (String/string) Name of the layer group to get.
Returns:
Returns the layer group.
Exceptions:
MgObjectNotFoundException if the name does not exist.