EnumTEnumGetDefinedOrNull(Int64) 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
public static TEnum? GetDefinedOrNull(
long value
)
Public Shared Function GetDefinedOrNull (
value As Long
) As TEnum?
public:
static Nullable<TEnum> GetDefinedOrNull(
long long value
)
static member GetDefinedOrNull :
value : int64 -> Nullable<'TEnum>
- value Int64
- A numeric value representing a field value in the enumeration.
NullableTEnumThe
TEnum value associated with
value if it is defined in
TEnum;
otherwise,
.