public static int EnumToInt (T enumValue);

Parámetros

enumValueEnum value to convert.

Valor de retorno

int Returns the integer representation of the enum value.

Descripción

Return integer representation of enum value without boxing.