MiscGetNumEnums()
- Last UpdatedAug 24, 2016
- 1 minute read
This method queries the number of enumeration values in the specified enumeration set based on the enumeration set name. For example, if the enumeration set name is Mode, the value 1 is defined as Manual, 4 as Semi-Auto, and 20 as Automatic in the Process Model Editor for Enumerations, then MiscGetNumEnums("Mode") would return 3. This method is used to determine number of members in an enumeration set. A long integer return value contains the number of members in the enumeration set.
Syntax
ReturnValue = OcxBatchVar.MiscGetNumEnums (SetName)
Parameters
SetName
Data Type: String
Enumeration set name