ValidateNotEmptyAttributeGetErrorMessage Method
Gets the error message to display if validation failed.
Namespace: Ookii.CommandLine.ValidationAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
public override string GetErrorMessage(
CommandLineArgument argument,
Object? value
)
Public Overrides Function GetErrorMessage (
argument As CommandLineArgument,
value As Object
) As String
Dim instance As ValidateNotEmptyAttribute
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 error message.