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