ICodeCompiler.CompileAssemblyFromSourceBatch 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.
Compiles an assembly from the specified array of strings containing source code, using the specified compiler settings.
public:
System::CodeDom::Compiler::CompilerResults ^ CompileAssemblyFromSourceBatch(System::CodeDom::Compiler::CompilerParameters ^ options, cli::array <System::String ^> ^ sources);
public System.CodeDom.Compiler.CompilerResults CompileAssemblyFromSourceBatch (System.CodeDom.Compiler.CompilerParameters options, string[] sources);
abstract member CompileAssemblyFromSourceBatch : System.CodeDom.Compiler.CompilerParameters * string[] -> System.CodeDom.Compiler.CompilerResults
Public Function CompileAssemblyFromSourceBatch (options As CompilerParameters, sources As String()) As CompilerResults
Parameters
- options
- CompilerParameters
A CompilerParameters object that indicates the settings for compilation.
- sources
- String[]
The source code strings to compile.
Returns
A CompilerResults object that indicates the results of compilation.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.