ConvertValueToEnumT(Int32) Method

Converts an int to the corresponding Enum (based on the value in the Enum).

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static T ValueToEnum<T>(
	int value
)

Parameters

value  Int32
Value to convert.

Type Parameters

T
The enum type to which the string will be converted.

Return Value

T
Value converted.

Exceptions

See Also