Skip to content

M_CodeJam_EnumHelper_GetEnumValue__1

Andrew Koryavchenko edited this page Jun 17, 2018 · 1 revision

EnumHelper.GetEnumValue(TEnum) Method

Gets metadata about enum value.

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

Syntax

C#

public static EnumValue GetEnumValue<TEnum>(
	TEnum value
)
where TEnum : struct, new()

VB

Public Shared Function GetEnumValue(Of TEnum As {Structure, New}) ( 
	value As TEnum
) As EnumValue

F#

static member GetEnumValue : 
        value : 'TEnum -> EnumValue  when 'TEnum : struct, new()

Parameters

 

value
Type: TEnum
Enum value.

Type Parameters

 

TEnum
Enum type

Return Value

Type: EnumValue
The enum values collection.

See Also

Reference

EnumHelper Class
CodeJam Namespace

Clone this wiki locally