EnumerationValueDef Object
An enumeration value definition object defines a single member of an enumeration value set. An EnumeratedValueDef object is owned by an EnumerationDef object. You can define multiple EnumerationValueDef objects to create an array of values for a property definition that uses enumerated values.
An EnumerationValueDef object is also a RepositoryObject and a RepositoryObjectVersion object. You can also access members that are defined for these objects and members of IRepositoryObjectStorage and IVersionAdminInfo2. For more information about accessing a member of an interface that is not the default interface, see Accessing Automation Object Members.
When to Use
Use an EnumerationValueDef object to associate real-world, constant data values with a property definition.
Properties
Property | Description |
---|---|
EnumerationValueDef EnumValue Property | A string value included in an enumerated set of values for a specified property definition object |