ValidateCountAttributeIsValid Method
Determines if the argument's item count is in the range.
Namespace: Ookii.CommandLine.ValidationAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
public override bool IsValid(
CommandLineArgument argument,
Object? value
)
Public Overrides Function IsValid (
argument As CommandLineArgument,
value As Object
) As Boolean
Dim instance As ValidateCountAttribute
Dim argument As CommandLineArgument
Dim value As Object
Dim returnValue As Boolean
returnValue = instance.IsValid(argument,
value)
public:
virtual bool IsValid(
CommandLineArgument^ argument,
Object^ value
) override
- argument CommandLineArgument
- The argument being validated.
- value Object
-
The argument value. If not , this must be an instance of
CommandLineArgumentArgumentType.
Boolean if the value is valid; otherwise,
.