Skip to content

M_CodeJam_EnumHelper_IsFlagsEnum__1

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

EnumHelper.IsFlagsEnum(TEnum) Method

Determines whether the enum has flags modifier.

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

Syntax

C#

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

VB

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

F#

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

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