Note

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

Access to this page requires authorization. You can try .

RootCommand.Directives Property

Definition

Namespace:
System.CommandLine
Assembly:
System.CommandLine.dll
Package:
System.CommandLine v3.0.0-preview.5.26302.115
Source:
RootCommand.cs
Source:
RootCommand.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.

Represents all of the directives that are valid under the root command.

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

Property Value

Applies to


Feedback

Was this page helpful?