public Object? ParseWithErrorHandling(
ReadOnlyMemory<string> args
)
Public Function ParseWithErrorHandling (
args As ReadOnlyMemory(Of String)
) As Object
Dim instance As CommandLineParser
Dim args As ReadOnlyMemory(Of String)
Dim returnValue As Object
returnValue = instance.ParseWithErrorHandling(args)
public:
Object^ ParseWithErrorHandling(
ReadOnlyMemory<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.