Skip to content

M_CodeJam_EnumHelper_IsFlagsEnum__1

andrewvk edited this page Jun 23, 2016 · 5 revisions

EnumHelper.IsFlagsEnum(TEnum) Method

Determines whether the enum has flags modifier.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public static bool IsFlagsEnum<TEnum>()
where TEnum : struct, new(), IComparable, IFormattable, IConvertible

VB

Public Shared Function IsFlagsEnum(Of TEnum As {Structure, New, IComparable, IFormattable, IConvertible}) As Boolean

F#

static member IsFlagsEnum : unit -> bool  when 'TEnum : struct, new() and IComparable and IFormattable and IConvertible

Type Parameters

 

TEnum
The type of the enum.

Return Value

Type: Boolean
True, if the enum is flags enum

See Also

Reference

EnumHelper Class
CodeJam Namespace

Clone this wiki locally