Editare

Partajați prin


CodeCompiler.FromFileBatch(CompilerParameters, String[]) Method

Definition

Compiles the specified files using the specified options, and returns the results from the compilation.

protected:
 virtual System::CodeDom::Compiler::CompilerResults ^ FromFileBatch(System::CodeDom::Compiler::CompilerParameters ^ options, cli::array <System::String ^> ^ fileNames);
protected virtual System.CodeDom.Compiler.CompilerResults FromFileBatch (System.CodeDom.Compiler.CompilerParameters options, string[] fileNames);
abstract member FromFileBatch : System.CodeDom.Compiler.CompilerParameters * string[] -> System.CodeDom.Compiler.CompilerResults
override this.FromFileBatch : System.CodeDom.Compiler.CompilerParameters * string[] -> System.CodeDom.Compiler.CompilerResults
Protected Overridable Function FromFileBatch (options As CompilerParameters, fileNames As String()) As CompilerResults

Parameters

options
CompilerParameters

A CompilerParameters object that indicates the compiler options.

fileNames
String[]

An array of strings that indicates the file names of the files to compile.

Returns

The results of compilation.

Exceptions

options is null.

-or-

fileNames is null.

Applies to

See also