FDO API Reference Feature Data Objects

template<class OBJ, class EXC>
virtual void FdoNamedCollection< OBJ, EXC >::SetItem FdoInt32  index,
OBJ *  value
[inline, virtual]
 

Sets the item in the collection at the specified index to the specified value. Throws an invalid argument exception if the index is out of range.

Parameters:
index Input index
value Input value
Returns:
Returns nothing
Remove the old item from the map

Add the new item to the map

Set the new item in the collection.

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 147 of file NamedCollection.h.

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


Comments or suggestions? Send us feedback.