EnumTEnumGetDefinedOrNull(UInt64) Method
Returns the TEnum value associated with value if it is defined in TEnum;
otherwise, returns .
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
[CLSCompliantAttribute(false)]
public static TEnum? GetDefinedOrNull(
ulong value
)
<CLSCompliantAttribute(false)>
Public Shared Function GetDefinedOrNull (
value As ULong
) As TEnum?
public:
[CLSCompliantAttribute(false)]
static Nullable<TEnum> GetDefinedOrNull(
unsigned long long value
)
[<CLSCompliantAttribute(false)>]
static member GetDefinedOrNull :
value : uint64 -> Nullable<'TEnum>
- value UInt64
- A numeric value representing a field value in the enumeration.
NullableTEnumThe
TEnum value associated with
value if it is defined in
TEnum;
otherwise,
.