AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

bool MgLayerGroupCollection::Contains ( CREFSTRING  name  ) 

Determines if the collection contains the specified layer group.

.NET Syntax
bool Contains(string name);
Java Syntax
boolean Contains(String name);
PHP Syntax
bool Contains(string name);

Parameters:
name (String/string) Name of the layer group to search for.
Returns:
Returns true if the collection contains the specified item, or false otherwise.