Skip to main content

RepositoryItemTokenEdit.AddEnum Method

Name Parameters Description
AddEnum(Type, Boolean, Boolean) enumType, skipNone, skipComposite Populates the editor with tokens created based on values of an enumeration.
AddEnum(Type, Boolean) enumType, addEnumeratorIntegerValues Populates the editor with tokens created based on values of an enumeration. Allows the created tokens to store the enumeration’s underlying integer constants instead of named constants.
AddEnum(Type) enumType Populates the editor with tokens created based on values of an enumeration.
AddEnum<TEnum>() none Populates the editor with tokens created based on values of an enumeration.
AddEnum<TEnum>(Boolean) addEnumeratorIntegerValues Populates the editor with tokens created based on values of an enumeration. Allows the created tokens to store the enumeration’s underlying integer constants instead of named constants.