AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgLayerGroupCollection Class Reference
[MgLayerGroupCollection]

Inherits MgDisposable.

List of all members.


Detailed Description

Manipulates collections of MgLayerGroup objects.

Public Member Functions

void Add (MgLayerGroup *value)
 Adds a layer group to the end of the collection.
void Clear ()
 Removes all layer groups from the collection.
bool Contains (MgLayerGroup *value)
 Determines if the collection contains the specified layer group.
bool Contains (CREFSTRING name)
 Determines if the collection contains the specified layer group.
INT32 GetCount ()
 Gets the number of layer groups in the collection.
MgLayerGroupGetItem (CREFSTRING name)
 Returns the layer group with the specified name.
MgLayerGroupGetItem (INT32 index)
 Gets the layer group at the specified index.
INT32 IndexOf (MgLayerGroup *value)
 Gets the index of the specified layer group in the collection.
INT32 IndexOf (CREFSTRING name)
 Gets the index of the specified layer group in the collection.
void Insert (INT32 index, MgLayerGroup *value)
 Inserts a layer group at a specified location in the collection.
bool Remove (MgLayerGroup *value)
 Removes a layer group from the collection.
void RemoveAt (INT32 index)
 Removes a layer group from the collection at the specified index.
void SetItem (INT32 index, MgLayerGroup *value)
 Sets the layer group in the collection at the specified index to the specified value.