public override string GetErrorMessage(
CommandLineArgument argument,
Object? value
)
Public Overrides Function GetErrorMessage (
argument As CommandLineArgument,
value As Object
) As String
Dim instance As ValidateRangeAttribute
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 LocalizedStringProviderValidateRangeFailed(String, ValidateRangeAttribute) method to customize this message.