다음을 통해 공유


CommandLineBuilderExtensions.UseEnvironmentVariableDirective 메서드

정의

지시문을 사용하여 [env:key=value] 호출하는 동안 명령줄에서 환경 변수를 설정할 수 있습니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Builder::CommandLineBuilder ^ UseEnvironmentVariableDirective(System::CommandLine::Builder::CommandLineBuilder ^ builder);
public static System.CommandLine.Builder.CommandLineBuilder UseEnvironmentVariableDirective (this System.CommandLine.Builder.CommandLineBuilder builder);
static member UseEnvironmentVariableDirective : System.CommandLine.Builder.CommandLineBuilder -> System.CommandLine.Builder.CommandLineBuilder
<Extension()>
Public Function UseEnvironmentVariableDirective (builder As CommandLineBuilder) As CommandLineBuilder

매개 변수

builder
CommandLineBuilder

명령줄 작성기입니다.

반환

의 동일한 instance.CommandLineBuilder

적용 대상