Note
Do not throw an exception from this method if validation fails. Instead, return
and provide an error message using the GetErrorMessage(CommandLineArgument, Object)
method.
public virtual bool IsValidPostParsing(
CommandLineArgument argument
)
Public Overridable Function IsValidPostParsing (
argument As CommandLineArgument
) As Boolean
Dim instance As ArgumentValidationAttribute
Dim argument As CommandLineArgument
Dim returnValue As Boolean
returnValue = instance.IsValidPostParsing(argument)
public:
virtual bool IsValidPostParsing(
CommandLineArgument^ argument
)
This method is called even if the argument was not specified on the command line. Check the CommandLineArgumentHasValue to see if a value was provided.
The default implementation always returns .