EnumTEnumGetDefinedOrNull(UInt64) 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-preview.1
C#
[CLSCompliantAttribute(false)]
public static TEnum? GetDefinedOrNull(
	ulong value
)

Parameters

value  UInt64
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