Open sandboxFocus

Method IsValidEnumValue

IsValidEnumValue(string, Type)

Declaration
public static bool IsValidEnumValue(string value, Type enumType)
Parameters
Type Name Description
string value
Type enumType
Returns
Type Description
bool

IsValidEnumValue(object?, Type)

Declaration
public static bool IsValidEnumValue(object? value, Type enumType)
Parameters
Type Name Description
object value
Type enumType
Returns
Type Description
bool