Name

FlagsAttribute

Synopsis

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 : Inherits Attribute
' Public Constructors
   Public Sub New() 
End Class

Hierarchy

ObjectAttribute FlagsAttribute

Valid On

Enum

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.