VBCode Provider With DocsCompile Assembly From Source Method
Compiles an assembly from the specified array of strings containing source code, 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 compilation.
Assembly: EWSoftware.CodeDom (in EWSoftware.CodeDom.dll) Version: 2022.3.12.0
C#
public override CompilerResults CompileAssemblyFromSource(
CompilerParameters options,
params string[] sources
)VB
Public Overrides Function CompileAssemblyFromSource (
options As CompilerParameters,
ParamArray sources As String()
) As CompilerResultsC++
public:
virtual CompilerResults^ CompileAssemblyFromSource(
CompilerParameters^ options,
... array<String^>^ sources
) overrideF#
abstract CompileAssemblyFromSource :
options : CompilerParameters *
sources : string[] -> CompilerResults
override CompileAssemblyFromSource :
options : CompilerParameters *
sources : string[] -> CompilerResults Parameters
- options CompilerParameters
- A CompilerParameters object that indicates the compiler settings for this compilation.
- sources String
- An array of source code strings to compile.
Return Value
CompilerResultsA CompilerResults object that indicates the results of compilation.
Exceptions
| NotImplementedException | Neither this method nor the CreateCompiler method is overridden in a derived class. |