CommandLineBuilderExtensions.ParseResponseFileAs Method
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.