FDO API Reference Feature Data Objects

template<class OBJ>
virtual FDO_API void FdoSchemaCollection< OBJ >::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
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.
When an object is removed from a collection, that collection's owner is no longer the object's parent.

Reimplemented from FdoNamedCollection< OBJ, FdoSchemaException >.

Reimplemented in FdoDataPropertyDefinitionCollection.

Definition at line 104 of file SchemaCollection.h.


Comments or suggestions? Send us feedback.