HelpAction.Invoke(ParseResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs an action when the associated symbol is invoked on the command line.
public:
override int Invoke(System::CommandLine::ParseResult ^ parseResult);
public override int Invoke(System.CommandLine.ParseResult parseResult);
override this.Invoke : System.CommandLine.ParseResult -> int
Public Overrides Function Invoke (parseResult As ParseResult) As Integer
Parameters
- parseResult
- ParseResult
Provides the parse results.
Returns
A value that can be used as the exit code for the process.