We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Returns a combination of all flags declared in the enum.
Namespace: CodeJamAssembly: 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()
Type: TEnumA combination of all flags declared in the enum, or default(TEnum) if IsFlagsEnum(TEnum)() is false.
default(TEnum)
EnumHelper ClassCodeJam Namespace