Skip to content

M_CodeJam_EnumHelper_GetValues__1

andrewvk edited this page Jun 23, 2016 · 5 revisions

EnumHelper.GetValues(TEnum) Method

Retrieves an array of the values of the constants in a specified enumeration.

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

Syntax

C#

public static TEnum[] GetValues<TEnum>()
where TEnum : struct, new(), IComparable, IFormattable, IConvertible

VB

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

F#

static member GetValues : unit -> 'TEnum[]  when 'TEnum : struct, new() and IComparable and IFormattable and IConvertible

Type Parameters

 

TEnum
The type of the enum.

Return Value

Type: TEnum[]
An array that contains the values of the constants in enumType.

See Also

Reference

EnumHelper Class
CodeJam Namespace

Clone this wiki locally