public event EventHandler<ArgumentParsedEventArgs> ArgumentParsed
Public Event ArgumentParsed As EventHandler(Of ArgumentParsedEventArgs)
Dim instance As CommandLineParser
Dim handler As EventHandler(Of ArgumentParsedEventArgs)
AddHandler instance.ArgumentParsed, handler
public:
event EventHandler<ArgumentParsedEventArgs^>^ ArgumentParsed {
void add (EventHandler<ArgumentParsedEventArgs^>^ value);
void remove (EventHandler<ArgumentParsedEventArgs^>^ value);
}
If the event handler sets the Cancel property to true, command line processing will stop immediately, and the Parse(String[], Int32) method will return null. The HelpRequested property will be set to true automatically.
If the argument used Method and the argument's method canceled parsing, the Cancel property will already be true when the event is raised. In this case, the HelpRequested property will not automatically be set to true.
This event is invoked after the Value and UsedArgumentName properties have been set.