FDO API Reference Feature Data Objects

template<class OBJ>
virtual FDO_API FdoInt32 FdoSchemaCollection< OBJ >::Add OBJ *  value  )  [inline, virtual]
 

Adds the specified item to the end of the collection. Returns the index of the newly added item.

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

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 168 of file SchemaCollection.h.


Comments or suggestions? Send us feedback.