EnumTEnumGetDefinedOrNull(Int64) Method

Returns the TEnum value associated with value if it is defined in TEnum; otherwise, returns .

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
public static TEnum? GetDefinedOrNull(
	long value
)

Parameters

value  Int64
A numeric value representing a field value in the enumeration.

Return Value

NullableTEnum
The TEnum value associated with value if it is defined in TEnum; otherwise, .

See Also