VBCode Provider With DocsCompile Assembly From Dom Method
Compiles an assembly based on the System.CodeDom trees contained in the specified array of CodeCompileUnit objects, using the specified compiler settings.
Definition
Namespace: EWSoftware.CodeDom
Assembly: EWSoftware.CodeDom (in EWSoftware.CodeDom.dll) Version: 2022.3.12.0
A CompilerResults object that indicates the results of the compilation.
Assembly: EWSoftware.CodeDom (in EWSoftware.CodeDom.dll) Version: 2022.3.12.0
C#
public override CompilerResults CompileAssemblyFromDom(
CompilerParameters options,
params CodeCompileUnit[] compilationUnits
)VB
Public Overrides Function CompileAssemblyFromDom (
options As CompilerParameters,
ParamArray compilationUnits As CodeCompileUnit()
) As CompilerResultsC++
public:
virtual CompilerResults^ CompileAssemblyFromDom(
CompilerParameters^ options,
... array<CodeCompileUnit^>^ compilationUnits
) overrideF#
abstract CompileAssemblyFromDom :
options : CompilerParameters *
compilationUnits : CodeCompileUnit[] -> CompilerResults
override CompileAssemblyFromDom :
options : CompilerParameters *
compilationUnits : CodeCompileUnit[] -> CompilerResults Parameters
- options CompilerParameters
- A CompilerParameters object that indicates the settings for the compilation.
- compilationUnits CodeCompileUnit
- An array of type CodeCompileUnit that indicates the code to compile.
Return Value
CompilerResultsA CompilerResults object that indicates the results of the compilation.
Exceptions
| NotImplementedException | Neither this method nor the CreateCompiler method is overridden in a derived class. |