Skip to content

M_CodeJam_EnumHelper_IsDefined__1_1

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

EnumHelper.IsDefined(TEnum) Method (TEnum)

Determines whether the specified value is defined.

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

Syntax

C#

public static bool IsDefined<TEnum>(
	TEnum value
)
where TEnum : struct, new()

VB

Public Shared Function IsDefined(Of TEnum As {Structure, New}) ( 
	value As TEnum
) As Boolean

F#

static member IsDefined : 
        value : 'TEnum -> bool  when 'TEnum : struct, new()

Parameters

 

value
Type: TEnum
The value to check.

Type Parameters

 

TEnum
The type of the enum.

Return Value

Type: Boolean
True, if enum defines the value.

See Also

Reference

EnumHelper Class
IsDefined Overload
CodeJam Namespace

Clone this wiki locally