We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Returns enum fields for enum type.
Namespace: CodeJam.ReflectionAssembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static FieldInfo[] GetFields<TEnum>() where TEnum : struct, new()
VB
Public Shared Function GetFields(Of TEnum As {Structure, New}) As FieldInfo()
F#
static member GetFields : unit -> FieldInfo[] when 'TEnum : struct, new()
Type: FieldInfo[]List of enum fields.
ReflectionEnumHelper ClassGetFields OverloadCodeJam.Reflection Namespace