Edit

Share via


Command.AddOption(Option) Method

Definition

Adds an Option to the command.

public:
 void AddOption(System::CommandLine::Option ^ option);
public void AddOption (System.CommandLine.Option option);
member this.AddOption : System.CommandLine.Option -> unit
Public Sub AddOption (option As Option)

Parameters

option
Option

The option to add to the command.

Applies to