CSharpCodeProviderWithDocs.CompileAssemblyFromSource Method

EWSoftware.CodeDom

CSharpCodeProviderWithDocsCompileAssemblyFromSource Method
Compiles an assembly from the specified array of strings containing source code, using the specified compiler settings.

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

Parameters

options
Type: System.CodeDom.CompilerCompilerParameters
A CompilerParameters object that indicates the compiler settings for this compilation.
sources
Type: SystemString
An array of source code strings to compile.

Return Value

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