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.
Retrieves an array of the values of the constants in a specified enumeration.
Namespace: CodeJamAssembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static TEnum[] GetValues<TEnum>() where TEnum : struct, new()
VB
Public Shared Function GetValues(Of TEnum As {Structure, New}) As TEnum()
F#
static member GetValues : unit -> 'TEnum[] when 'TEnum : struct, new()
Type: TEnum[]An array that contains the values of the constants in enumType.
EnumHelper ClassCodeJam Namespace