CoreStrings.InvalidEnumValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
InvalidEnumValue(Object, Object) |
The value provided for argument '{argumentName}' must be a valid value of enum type '{enumType}'. |
InvalidEnumValue(Object, Object, Object) |
The value '{value}' provided for argument '{argumentName}' must be a valid value of enum type '{enumType}'. |
InvalidEnumValue(Object, Object)
The value provided for argument '{argumentName}' must be a valid value of enum type '{enumType}'.
public static string InvalidEnumValue (object argumentName, object enumType);
static member InvalidEnumValue : obj * obj -> string
Public Shared Function InvalidEnumValue (argumentName As Object, enumType As Object) As String
Parameters
- argumentName
- Object
- enumType
- Object
Returns
Applies to
InvalidEnumValue(Object, Object, Object)
The value '{value}' provided for argument '{argumentName}' must be a valid value of enum type '{enumType}'.
public static string InvalidEnumValue (object? value, object? argumentName, object? enumType);
static member InvalidEnumValue : obj * obj * obj -> string
Public Shared Function InvalidEnumValue (value As Object, argumentName As Object, enumType As Object) As String
Parameters
- value
- Object
- argumentName
- Object
- enumType
- Object
Returns
Applies to
Entity Framework