FDO API Reference Feature Data Objects

template<class OBJ, class EXC>
virtual void FdoNamedCollection< OBJ, EXC >::Insert FdoInt32  item,
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
Insert the new item in the map

Insert it in the list

Reimplemented from FdoCollection< OBJ, EXC >.

Reimplemented in FdoPhysicalElementMappingCollection< OBJ >, FdoDataPropertyDefinitionCollection, FdoSchemaCollection< OBJ >, FdoPhysicalElementMappingCollection< FdoXmlClassMapping >, FdoPhysicalElementMappingCollection< FdoXmlElementMapping >, FdoSchemaCollection< FdoClassDefinition >, FdoSchemaCollection< FdoFeatureSchema >, FdoSchemaCollection< FdoFeatureClass >, FdoSchemaCollection< FdoPropertyDefinition >, and FdoSchemaCollection< FdoDataPropertyDefinition >.

Definition at line 198 of file NamedCollection.h.

Referenced by FdoSchemaCollection< FdoDataPropertyDefinition >::Insert(), and FdoPhysicalElementMappingCollection< FdoXmlElementMapping >::Insert().


Comments or suggestions? Send us feedback.