public Object? ParseWithErrorHandling()
Public Function ParseWithErrorHandling As Object
Dim instance As CommandLineParser
Dim returnValue As Object
returnValue = instance.ParseWithErrorHandling()
public:
Object^ ParseWithErrorHandling()
If an error occurs or parsing is canceled, it prints errors to the ParseOptions.Error stream, and usage help using the UsageWriter if the HelpRequested property is true. It then returns null.
If the return value is null, check the ParseResult property for more information about whether an error occurred or parsing was canceled.
This method will never throw a CommandLineArgumentException exception.