company logo

TypeDefinition :: enumeratorCount - Number of enumerators

The property provides the number of enumerators for an enumerated data type.

When calling the function with an invalid type definition or when the type definition does not refer to an enumeration, the function throws an exception. In order to check, whether the data type is an enumeration, isEnumeration() might be called.

Return value:  Number of items ( int32  )

The value contains the number of items to be processed or stored in a collection.

Implementation details

int32 TypeDefinition  :: enumeratorCount (  )