public bool ValidateSpan(
	CommandLineArgument argument,
	ReadOnlySpan<char> value
)Public Function ValidateSpan ( 
	argument As CommandLineArgument,
	value As ReadOnlySpan(Of Char)
) As Boolean
Dim instance As ArgumentValidationAttribute
Dim argument As CommandLineArgument
Dim value As ReadOnlySpan(Of Char)
Dim returnValue As Boolean
returnValue = instance.ValidateSpan(argument, 
	value)public:
bool ValidateSpan(
	CommandLineArgument^ argument, 
	ReadOnlySpan<wchar_t> value
)The CommandLineParser class will only call this method if the Mode property is ValidationModeBeforeConversion.
| CommandLineArgumentException | The value parameter is not a valid value. The CommandLineArgumentExceptionCategory property will be the value of the ErrorCategory property. |