-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_EnumHelper_AreFlagsDefined__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
6 revisions
Determines whether all bits of the flags combination are defined.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static bool AreFlagsDefined<TEnum>(
TEnum flags
)
where TEnum : struct, new()
VB
Public Shared Function AreFlagsDefined(Of TEnum As {Structure, New}) (
flags As TEnum
) As Boolean
F#
static member AreFlagsDefined :
flags : 'TEnum -> bool when 'TEnum : struct, new()
- flags
- Type: TEnum
The flags to check.
- TEnum
- The type of the enum.
Type: Boolean
True, if enum defines all bits of the flags combination.