public override string GetErrorMessage(
CommandLineArgument argument,
Object? value
)
Public Overrides Function GetErrorMessage (
argument As CommandLineArgument,
value As Object
) As String
Dim instance As ValidateEnumValueAttribute
Dim argument As CommandLineArgument
Dim value As Object
Dim returnValue As String
returnValue = instance.GetErrorMessage(argument,
value)
public:
virtual String^ GetErrorMessage(
CommandLineArgument^ argument,
Object^ value
) override
Use a custom LocalizedStringProvider class that overrides the LocalizedStringProviderValidateEnumValueFailed(String, Type, Object, Boolean) method to customize this message.