AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgCollection Class Reference
[MgCollection]

Inherits MgSerializable.

Inherited by MgBatchPropertyCollection, MgClassDefinitionCollection, MgFeatureSchemaCollection, MgIntCollection, MgPropertyCollection, MgPropertyDefinitionCollection, and MgStringCollection.

List of all members.


Detailed Description

MgCollection is an abstract class for defining standard collection access for all collection classes.

Note:
Collections are NOT thread safe and ordered in the sequence of add operation.

Public Member Functions

virtual void Clear ()=0
 Removes all items from the collection.
virtual INT32 GetCount () const =0
 Gets the number of items in the collection.
virtual void RemoveAt (INT32 index)=0
 Removes the specified item from the collection.