Command.Options Property
Definition
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 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.