public event EventHandler<DuplicateArgumentEventArgs> DuplicateArgument
Public Event DuplicateArgument As EventHandler(Of DuplicateArgumentEventArgs)
Dim instance As CommandLineParser
Dim handler As EventHandler(Of DuplicateArgumentEventArgs)
AddHandler instance.DuplicateArgument, handler
public:
event EventHandler<DuplicateArgumentEventArgs^>^ DuplicateArgument {
void add (EventHandler<DuplicateArgumentEventArgs^>^ value);
void remove (EventHandler<DuplicateArgumentEventArgs^>^ value);
}
Handling this event allows you to inspect the new value, and decide to keep the old or new value. It also allows you to, for instance, print a warning for duplicate arguments.
This event is only raised when the AllowDuplicateArguments property is .