FDO API Reference Feature Data Objects

template<class OBJ>
virtual FDO_API void FdoSchemaCollection< OBJ >::Insert FdoInt32  index,
OBJ *  value
[inline, virtual]
 

Inserts the specified item at the specified index within the collection. Items following the insertion point are moved down to accommodate the new item. Throws an invalid argument exception if the specified index is out of range.

Parameters:
index Input index
value Input value
Returns:
Returns nothing
Validate parentage for object to add. Membership in a collection implys parentage, and a object can only have one parent.

OK, just restoring collection.

Adding to a non-owning class does not change the state.

Warning:
Do not change states during Accept/RejectChanges.

Reimplemented from FdoNamedCollection< OBJ, FdoSchemaException >.

Reimplemented in FdoDataPropertyDefinitionCollection.

Definition at line 217 of file SchemaCollection.h.


Comments or suggestions? Send us feedback.