EnumUtility.IsDefined<T> method

Determines whether the specified value is defined.

public static bool IsDefined<T>(T value)
    where T : struct, Enum
parameter description
T The enumerated type.
value The value.

Return Value

true if the specified value is defined; otherwise, false.

See Also