public void ValidatePreConversion(
CommandLineArgument argument,
ReadOnlyMemory<char> value
)
Public Sub ValidatePreConversion (
argument As CommandLineArgument,
value As ReadOnlyMemory(Of Char)
)
Dim instance As ArgumentValidationAttribute
Dim argument As CommandLineArgument
Dim value As ReadOnlyMemory(Of Char)
instance.ValidatePreConversion(argument,
value)
public:
void ValidatePreConversion(
CommandLineArgument^ argument,
ReadOnlyMemory<wchar_t> value
)
This method calls the IsValidPreConversion(CommandLineArgument, ReadOnlyMemoryChar) method to do the actual validation.
CommandLineArgumentException | The value parameter is not a valid value. The CommandLineArgumentExceptionCategory property will be the value of the ErrorCategory property. |