Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
EnvironmentVariablesDirective Class
Definition
- Namespace:
- System.CommandLine
- Assembly:
- System.CommandLine.dll
- Package:
- System.CommandLine v3.0.0-preview.5.26302.115
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.
Enables the use of the [env:key=value] directive, allowing environment variables to be set from the command line during invocation.
public ref class EnvironmentVariablesDirective sealed : System::CommandLine::Directive
public sealed class EnvironmentVariablesDirective : System.CommandLine.Directive
type EnvironmentVariablesDirective = class
inherit Directive
Public NotInheritable Class EnvironmentVariablesDirective
Inherits Directive
- Inheritance
Constructors
| Name | Description |
|---|---|
| EnvironmentVariablesDirective() |
Initializes a new instance of the Object class. |
Properties
| Name | Description |
|---|---|
| Action |
Gets or sets the CommandLineAction for the Directive. The handler represents the action that will be performed when the Directive is invoked. |
| Description |
Gets or sets the description of the symbol. (Inherited from Symbol) |
| Hidden |
Gets or sets a value indicating whether the symbol is hidden. (Inherited from Symbol) |
| Name |
Gets the name of the symbol. (Inherited from Symbol) |
| Parents |
Gets the parent symbols. (Inherited from Symbol) |
Methods
| Name | Description |
|---|---|
| GetCompletions(CompletionContext) |
Gets completions for the symbol. (Inherited from Directive) |
| ToString() |
Returns a string that represents the current object. (Inherited from Symbol) |
Applies to
Feedback
Was this page helpful?
