ConvertValueToEnumT(Int32) Method
Converts an int to the corresponding Enum (based on the value in the Enum).
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static T ValueToEnum<T>(
int value
)
Public Shared Function ValueToEnum(Of T) (
value As Integer
) As T
- value Int32
- Value to convert.
- T
- The enum type to which the string will be converted.
TValue converted.