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