Bewerken

Share via


ICodeCompiler.CompileAssemblyFromFileBatch Method

Definition

Compiles an assembly from the source code contained within the specified files, using the specified compiler settings.

public:
 System::CodeDom::Compiler::CompilerResults ^ CompileAssemblyFromFileBatch(System::CodeDom::Compiler::CompilerParameters ^ options, cli::array <System::String ^> ^ fileNames);
public System.CodeDom.Compiler.CompilerResults CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, string[] fileNames);
abstract member CompileAssemblyFromFileBatch : System.CodeDom.Compiler.CompilerParameters * string[] -> System.CodeDom.Compiler.CompilerResults
Public Function CompileAssemblyFromFileBatch (options As CompilerParameters, fileNames As String()) As CompilerResults

Parameters

options
CompilerParameters

A CompilerParameters object that indicates the settings for compilation.

fileNames
String[]

The file names of the files to compile.

Returns

A CompilerResults object that indicates the results of compilation.

Applies to

See also