# FdoReadOnlyDataPropertyDefinitionCollection Class Reference

`#include <ReadOnlyDataPropertyDefinitionCollection.h>`

Inheritance diagram for FdoReadOnlyDataPropertyDefinitionCollection:

[legend]

List of all members.

## Detailed Description

The FdoReadOnlyDataPropertyDefinitionCollection class represents a read-only collection of FdoDataPropertyDefinition objects.

Definition at line 37 of file ReadOnlyDataPropertyDefinitionCollection.h.

## Public Member Functions
FDO_API bool | Contains (FdoDataPropertyDefinition *value)
| Determines if the collection contains the specified item.
FDO_API FdoInt32 | GetCount ()
| Gets the number of items in the collection.
FDO_API FdoDataPropertyDefinition * | GetItem (FdoString *name)
| Gets the item in the collection with the specified name. Throws an invalid argument exception if an item with the specified name does not exist in the collection.
FDO_API FdoDataPropertyDefinition * | GetItem (FdoInt32 index)
| Gets the item in the collection at the specified index. Throws an invalid argument exception if the index is out of range.
FDO_API FdoInt32 | IndexOf (FdoDataPropertyDefinition *value)
| Returns the index of the specified item in the collection. If the item does not exist, the IndexOf function returns -1.
## Static Public Member Functions
static FDO_API FdoReadOnlyDataPropertyDefinitionCollection * | Create (FdoDataPropertyDefinitionCollection *properties)
| Constructs and populates an instance of an FdoReadOnlyDataPropertyDefinitionCollection.

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

- ReadOnlyDataPropertyDefinitionCollection.h