Del via


Command.Options Property

Definition

Gets all of the options for the command.

public:
 property System::Collections::Generic::IList<System::CommandLine::Option ^> ^ Options { System::Collections::Generic::IList<System::CommandLine::Option ^> ^ get(); };
public System.Collections.Generic.IList<System.CommandLine.Option> Options { get; }
member this.Options : System.Collections.Generic.IList<System.CommandLine.Option>
Public ReadOnly Property Options As IList(Of Option)

Property Value

Remarks

This collection doesn't include options on parent commands where Option.Recursive is true. Those options are valid under the current command but don't appear in this collection.

Applies to