Edit

Share via


CommandLineBuilderExtensions.ParseResponseFileAs Method

Definition

Configures the parser's handling of response files. When enabled, a command line token beginning with @ that is a valid file path will be expanded as though inserted into the command line.

public:
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Builder::CommandLineBuilder ^ ParseResponseFileAs(System::CommandLine::Builder::CommandLineBuilder ^ builder, System::CommandLine::Parsing::ResponseFileHandling responseFileHandling);
public static System.CommandLine.Builder.CommandLineBuilder ParseResponseFileAs (this System.CommandLine.Builder.CommandLineBuilder builder, System.CommandLine.Parsing.ResponseFileHandling responseFileHandling);
static member ParseResponseFileAs : System.CommandLine.Builder.CommandLineBuilder * System.CommandLine.Parsing.ResponseFileHandling -> System.CommandLine.Builder.CommandLineBuilder
<Extension()>
Public Function ParseResponseFileAs (builder As CommandLineBuilder, responseFileHandling As ResponseFileHandling) As CommandLineBuilder

Parameters

builder
CommandLineBuilder

A command line builder.

responseFileHandling
ResponseFileHandling

Specifies whether or how response files are parsed.

Returns

The same instance of CommandLineBuilder.

Applies to