Skip to content

M_CodeJam_EnumValues_GetByValue

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

EnumValues.GetByValue Method

Tries to get enum field by its value.

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

Syntax

C#

public EnumValue GetByValue(
	Enum value
)

VB

Public Function GetByValue ( 
	value As Enum
) As EnumValue

F#

member GetByValue : 
        value : Enum -> EnumValue 

Parameters

 

value
Type: System.Enum
Value of the enum field.

Return Value

Type: EnumValue
Enum field with matching value.

See Also

Reference

EnumValues Class
CodeJam Namespace

Clone this wiki locally