Edit

Share via


SynchronousCommandLineAction.Invoke(ParseResult) Method

Definition

Performs an action when the associated symbol is invoked on the command line.

public:
 abstract int Invoke(System::CommandLine::ParseResult ^ parseResult);
public abstract int Invoke(System.CommandLine.ParseResult parseResult);
abstract member Invoke : System.CommandLine.ParseResult -> int
Public MustOverride 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.

Applies to