-
Notifications
You must be signed in to change notification settings - Fork 36
M_CodeJam_EnumHelper_GetField__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
1 revision
Gets field info of enum value.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static FieldInfo GetField<TEnum>(
TEnum value
)
where TEnum : struct, new()
VB
Public Shared Function GetField(Of TEnum As {Structure, New}) (
value As TEnum
) As FieldInfo
F#
static member GetField :
value : 'TEnum -> FieldInfo when 'TEnum : struct, new()
- value
- Type: TEnum
The enum value.
- TEnum
- The type of the enum.