FlagsAttribute

FlagsAttribute CF 1.0, ECMA 1.0, serializable

System (mscorlib.dll) class

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 Attribute FlagsAttribute

Valid On

Enum



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net