VBEnumerators Statement

The VBEnumerators statement describes the enumerators for an enumeration.

{ //VBEnumerators: enumeratorName ( =integer displayName )? ( , enumeratorName ( =integer displayName )? )* }

enumeratorName
Name of the C++ enumerator.

integer
Value assigned to this enumerator. If not specified, it is one more than the previous enumerator. The default for the first enumerator is 0.

displayName
Optional display name for the enumerator. The display name is used instead of the enumerator name in the part property sheet.

( "descriptive name" | (resourceId, resourceDll) )

resourceId
Optional resource number of the descriptive name. If you specify a resource ID, you must also specify the resource DLL name.

resourceDll
Optional resource DLL name containing the descriptive name. You must specify the DLL name if you specify a resource ID. Do not include the .dll extension.


Related procedures
Defining the Part Interface Using Part Information Statements

Related references
Enumeration Part Information Statements
Part Information Statement Descriptions
Part Information Statement Examples