CSharpCodeProviderWithDocs.CompileAssemblyFromDom Method

EWSoftware.CodeDom

CSharpCodeProviderWithDocsCompileAssemblyFromDom Method
Compiles an assembly based on the System.CodeDom trees contained in the specified array of CodeCompileUnit objects, using the specified compiler settings.

Namespace: EWSoftware.CodeDom
Assembly: EWSoftware.CodeDom (in EWSoftware.CodeDom.dll) Version: 2015.6.7.0
Syntax
public override CompilerResults CompileAssemblyFromDom(
	CompilerParameters options,
	params CodeCompileUnit[] compilationUnits
)
Public Overrides Function CompileAssemblyFromDom ( 
	options As CompilerParameters,
	ParamArray compilationUnits As CodeCompileUnit()
) As CompilerResults
public:
virtual CompilerResults^ CompileAssemblyFromDom(
	CompilerParameters^ options, 
	... array<CodeCompileUnit^>^ compilationUnits
) override
abstract CompileAssemblyFromDom : 
        options : CompilerParameters * 
        compilationUnits : CodeCompileUnit[] -> CompilerResults 
override CompileAssemblyFromDom : 
        options : CompilerParameters * 
        compilationUnits : CodeCompileUnit[] -> CompilerResults 

Parameters

options
Type: System.CodeDom.CompilerCompilerParameters
A CompilerParameters object that indicates the settings for the compilation.
compilationUnits
Type: System.CodeDomCodeCompileUnit
An array of type CodeCompileUnit that indicates the code to compile.

Return Value

Type: CompilerResults
A CompilerResults object that indicates the results of the compilation.
Exceptions
ExceptionCondition
NotImplementedExceptionNeither this method nor the CreateCompiler method is overridden in a derived class.
See Also