C # in a Nutshell, Second Edition
This attribute indicates that an enumeration should be treated as a set of on/off flags (i.e., a bit field). Unlike enumerated constants, bit fields can be combined with a bitwise OR operation. public class FlagsAttribute : Attribute { // Public Constructors public FlagsAttribute ( ); } Hierarchy
Object Valid On
Enum |