Compile Method of the Compiler Object

Compile Method of the Compiler Object

Compiles the SDM document. Calling this method requires that the Compiler.SourceFile property be set. Other properties are optional and have appropriate defaults.

  [C#]
public Boolean Compile();

FakePre-c67721e3c730461db530ec737f3b52b9-db16ff6ec9c14d119c43c8d24a14cc39

Parameters

This method has no parameters.

Return Value

true if any error occurred during the compilation; otherwise, false.

Requirements

Namespace

Defined in Microsoft.SystemDefinitionModel.Tools.

Assembly

Requires SdmCompile (in SdmCompile.dll).

.NET Framework

Requires .NET Framework 2.0.

See Also

Microsoft.SystemDefinitionModel.Tools
Compiler
Compiler.SourceFile

Send comments about this topic to Microsoft

Build date: 10/2/2007