Sprache

Command.Options Eigenschaft

Definition

Ruft alle Optionen für den Befehl ab.

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

Eigenschaftswert

Hinweise

Diese Auflistung enthält keine Optionen für übergeordnete Befehle, bei denen Option.Recursive ist true. Diese Optionen sind unter dem aktuellen Befehl gültig, werden aber nicht in dieser Auflistung angezeigt.

Gilt für: