Meta Data Services Programming
EnumerationDef IsFlag Property
This Boolean property indicates whether the enumeration definition object defines a logical flag. The selected enumeration values should be combined logically using OR. This only applies to numeric enumeration values.
Syntax
Object.IsFlag
The IsFlag property syntax has the following part.
Part | Description |
---|---|
object | The EnumerationDef object |
Remarks
If you need an object to represent a flag structure, and you want that flag to support a series of bit flags that can be combined to set multiple options, you can create an EnumerationDef object and set the IsFlag property to True.