The repository enumeration definition is used to specify a fixed set of constant strings or integer values that correspond to real-world concepts as an enumeration. With the following interfaces you can specify an EnumerationDef object and associated EnumerationValue objects, and associate these objects with PropertyDef objects.
The IEnumerationDef interface is the default interface for enumeration objects. Use this interface to define new enumeration values.
The IEnumerationValueDef interface contains a value that can be stored in the Property value of an object.
The IPropertyDef2 interface has a relationship collection called EnumerationDef. It contains an optional relationship to a single EnumerationDef object.
The following table identifies enumeration objects that support interfaces.
Objects | Interfaces |
---|---|
All Enumeration objects | IenumerationDef |
IrepositoryObject | |
IRepositoryObjectStorage | |
IreposTypeInfo | |
IVersionAdminInfo2 | |
InamedObject | |
ISummaryInformation | |
EnumerationValue objects | IEnumerationValue |
IrepositoryObject | |
IRepositoryObjectStorage | |
InamedObject | |
ISummaryInformation | |
IVersionAdminInfo2 |