Skip to main content
A newer version of this page is available. .

RepositoryItemTokenEdit.AddEnum Method

Name Parameters Description
AddEnum(Type, Boolean, Boolean) enumType, skipNone, skipComposite Populates this RepositoryItemTokenEdit with items generated from values of the specific enumeration.
AddEnum(Type, Boolean) enumType, addEnumeratorIntegerValues Populates this RepositoryItemTokenEdit with items generated from values of the specific enumeration. Allows generated tokens to store numeric enumeration values instead of enumeration constant names.
AddEnum(Type) enumType Populates this RepositoryItemTokenEdit with items generated from values of the specific enumeration.
AddEnum<TEnum>() none Populates this RepositoryItemTokenEdit with items generated from values of the specific enumeration.
AddEnum<TEnum>(Boolean) addEnumeratorIntegerValues Populates this RepositoryItemTokenEdit with items generated from values of the specific enumeration. Allows generated items to store numeric enumeration values instead of enumeration constant names.