-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_EnumHelper_GetFlagsMask__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
5 revisions
Returns a combination of all flags declared in the enum.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static TEnum GetFlagsMask<TEnum>()
where TEnum : struct, new()
VB
Public Shared Function GetFlagsMask(Of TEnum As {Structure, New}) As TEnum
F#
static member GetFlagsMask : unit -> 'TEnum when 'TEnum : struct, new()
- TEnum
- The type of the enum.
Type: TEnum
A combination of all flags declared in the enum, or default(TEnum)
if IsFlagsEnum(TEnum)() is false.