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