ValidatePatternAttributeGetErrorMessage Method
Gets the error message to display if validation failed.
Namespace: Ookii.CommandLine.ValidationAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
public override string GetErrorMessage(
CommandLineArgument argument,
Object? value
)
Public Overrides Function GetErrorMessage (
argument As CommandLineArgument,
value As Object
) As String
Dim instance As ValidatePatternAttribute
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
- argument CommandLineArgument
- The argument that was validated.
- value Object
- Not used.
StringThe value of the
ErrorMessage property, or a generic message
if it's
.