Partager via


CoreStrings.InvalidEnumValue Method

Definition

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)

Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs

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)

Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs

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