GenerateCodeIn

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  The MapForce API > Object Reference > Interfaces > ProjectItem > Methods >

GenerateCodeIn

Generates code for the project item and its children in the specified language. The output location is determined by CodeGenSettings_UseDefault and CodeGenSettings_OutputFolder. Children of this project item can have their own property settings related to code-generation.

 

Signature

GenerateCodeIn(in i_nLanguage:ENUMProgrammingLanguage) : Void

 

Parameters

Name

Type

Description

i_nLanguage

ENUMProgrammingLanguage

Specifies the programming language for code generation.

 

Errors

Error code

Description

1700

The object is no longer valid.

1701

Invalid language specified.

1706

Error during code generation.


© 2019 Altova GmbH