Click or drag to resize
FastEnumToEnumTEnum Method (Int64)
Provides a fast implementation of a part of the functionality of ToObject(Type, Object).

Namespace: Lawo
Assembly: Lawo (in Lawo.dll) Version: 1.4.1707.27006
Syntax
C#
public static TEnum ToEnum<TEnum>(
	long value
)
where TEnum : struct, new()

Parameters

value
Type: SystemInt64

Type Parameters

TEnum
The enumeration type.

Return Value

Type: TEnum
Exceptions
ExceptionCondition
ArgumentExceptionTEnum is not an Enum.
See Also