LocalizedStringProviderValidateEnumValueFailed Method
Namespace: Ookii.CommandLineAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
public virtual string ValidateEnumValueFailed(
string argumentName,
Type enumType,
Object? value,
bool includeValues
)
Public Overridable Function ValidateEnumValueFailed (
argumentName As String,
enumType As Type,
value As Object,
includeValues As Boolean
) As String
Dim instance As LocalizedStringProvider
Dim argumentName As String
Dim enumType As Type
Dim value As Object
Dim includeValues As Boolean
Dim returnValue As String
returnValue = instance.ValidateEnumValueFailed(argumentName,
enumType, value, includeValues)
public:
virtual String^ ValidateEnumValueFailed(
String^ argumentName,
Type^ enumType,
Object^ value,
bool includeValues
)
- argumentName String
- The name of the argument.
- enumType Type
- The type of the enumeration.
- value Object
- The value of the argument.
- includeValues Boolean
- to include the possible values of the enumeration in the error
message; otherwise, .
StringThe error message.