Skip to content

M_CodeJam_EnumHelper_GetName__1

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

EnumHelper.GetName(TEnum) Method

Returns name of the enum value.

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

Syntax

C#

public static string GetName<TEnum>(
	TEnum value
)
where TEnum : struct, new()

VB

Public Shared Function GetName(Of TEnum As {Structure, New}) ( 
	value As TEnum
) As String

F#

static member GetName : 
        value : 'TEnum -> string  when 'TEnum : struct, new()

Parameters

 

value
Type: TEnum
The enum value.

Type Parameters

 

TEnum
Enum type

Return Value

Type: String
The name of the enum value.

See Also

Reference

EnumHelper Class
CodeJam Namespace

Clone this wiki locally