AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

void MgClassDefinitionCollection::Insert ( INT32  index,
MgClassDefinition value 
)

Inserts the specified item at the specified index within the collection. Items following the insertion point are moved down to accommodate the new item.

.NET Syntax
void Insert(int index, MgClassDefinition value);
Java Syntax
void Insert(int index, MgClassDefinition value);
PHP Syntax
void Insert(int index, MgClassDefinition value);

Parameters:
index (int) Input index
value (MgClassDefinition) Input value
Returns:
Returns nothing.
Exceptions:
MgIndexOutOfRangeException if the index is out of range.
MgDuplicateObjectException if it is a duplicate.