-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_EnumHelper_GetFlagsMask__1
Andrew Koryavchenko edited this page Jul 4, 2017
·
5 revisions
Returns a combination of all flags declared in the enum.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)
C#
public static TEnum GetFlagsMask<TEnum>()
where TEnum : struct, new(), IComparable, IFormattable, IConvertible
VB
Public Shared Function GetFlagsMask(Of TEnum As {Structure, New, IComparable, IFormattable, IConvertible}) As TEnum
F#
static member GetFlagsMask : unit -> 'TEnum when 'TEnum : struct, new() and IComparable and IFormattable and IConvertible
- 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.