Appearance
SetFlag Method
Definition
- Namespace:
JASE.Extensions - Assembly:
JASE.Primitives.dll
int SetFlag(int value, int flag)
csharp
int SetFlag(int value, int flag)Set a flag (turn the bit on)
Parameters
| Name | Description |
|---|---|
flag | The zero-based position of the flag to set |
value | The current bitmask value |
Returns
The updated bitmask value with the flag set