-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_EnumHelper_GetValues__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
5 revisions
Retrieves an array of the values of the constants in a specified enumeration.
Namespace: CodeJam
Assembly: 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()
- TEnum
- The type of the enum.
Type: TEnum[]
An array that contains the values of the constants in enumType.