# FdoSchemaCollection< OBJ > Class Template Reference

`#include <SchemaCollection.h>`

Inheritance diagram for FdoSchemaCollection< OBJ >:

[legend]

List of all members.

## Detailed Description

### template<class OBJ>
class FdoSchemaCollection< OBJ >

FdoSchemaCollection is an abstract template class that is used to define schema collections; FdoClassCollection, FdoDatapropertyDefinitionCollection, FdoFeatureClassCollection, FdoFeatureSchemaCollection, FdoPropertyDefinitionCollection, and FdoRelationCollection.

Definition at line 35 of file SchemaCollection.h.

## Public Member Functions
virtual FDO_API FdoInt32 | Add (OBJ *value)
| Adds the specified item to the end of the collection. Returns the index of the newly added item.
virtual FDO_API void | Clear ()
| Removes all items from the collection.
virtual FDO_API void | Insert (FdoInt32 index, OBJ *value)
| 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.
virtual FDO_API void | Remove (const OBJ *value)
| Removes the specified item from the collection. Throws an invalid argument exception if the item does not exist within the collection.
virtual FDO_API void | RemoveAt (FdoInt32 index)
| Removes the specified item from the collection. Throws an invalid argument exception if the item does not exist within the collection.
virtual FDO_API void | SetItem (FdoInt32 index, OBJ *value)
| 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.

The documentation for this class was generated from the following file:

- SchemaCollection.h