Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
The enumeration (Enum) value type inherits from the Enum Class. The following rules outline the naming guidelines for enumerations:
- Use Pascal case for Enum types and value names.
- Use abbreviations sparingly.
- Do not use an
Enumsuffix on Enum type names. - Use a singular name for most Enum types, but use a plural name for Enum types that are bit fields.
- Always add the FlagsAttribute to a bit field Enum type.
See Also
Design Guidelines for Class Library Developers | Value Type Usage Guidelines | Enum Class