Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Option.Action Property

Definition

Namespace:
System.CommandLine
Assembly:
System.CommandLine.dll
Package:
System.CommandLine v3.0.0-preview.5.26302.115
Source:
Option.cs
Source:
Option.cs

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.

Gets or sets the CommandLineAction for the Option. The handler represents the action that will be performed when the Option is invoked.

public:
 virtual property System::CommandLine::Invocation::CommandLineAction ^ Action { System::CommandLine::Invocation::CommandLineAction ^ get(); void set(System::CommandLine::Invocation::CommandLineAction ^ value); };
public virtual System.CommandLine.Invocation.CommandLineAction? Action { get; set; }
member this.Action : System.CommandLine.Invocation.CommandLineAction with get, set
Public Overridable Property Action As CommandLineAction

Property Value

Applies to


Feedback

Was this page helpful?