Skip to content

M_CodeJam_EnumHelper_GetEnumValues__1

Andrew Koryavchenko edited this page Jun 17, 2018 · 1 revision

EnumHelper.GetEnumValues(TEnum) Method

Gets enum values collection that contains information about enum type and its values.

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

Syntax

C#

public static EnumValues GetEnumValues<TEnum>()
where TEnum : struct, new()

VB

Public Shared Function GetEnumValues(Of TEnum As {Structure, New}) As EnumValues

F#

static member GetEnumValues : unit -> EnumValues  when 'TEnum : struct, new()

Type Parameters

 

TEnum
Enum type

Return Value

Type: EnumValues
The enum values collection.

See Also

Reference

EnumHelper Class
GetEnumValues Overload
CodeJam Namespace

Clone this wiki locally