Skip to content

M_CodeJam_Reflection_ReflectionEnumHelper_GetFields

Andrew Koryavchenko edited this page Jun 17, 2018 · 2 revisions

ReflectionEnumHelper.GetFields Method (Type)

Returns enum fields for enum type.

Namespace: CodeJam.Reflection
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static FieldInfo[] GetFields(
	Type enumType
)

VB

Public Shared Function GetFields ( 
	enumType As Type
) As FieldInfo()

F#

static member GetFields : 
        enumType : Type -> FieldInfo[] 

Parameters

 

enumType
Type: System.Type
Type of the enum.

Return Value

Type: FieldInfo[]
List of enum fields.

See Also

Reference

ReflectionEnumHelper Class
GetFields Overload
CodeJam.Reflection Namespace

Clone this wiki locally