ProjectItem.GenerateCodeIn

www.altova.com このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  The MapForce API > Object Reference > ProjectItem >

ProjectItem.GenerateCodeIn

Method: GenerateCodeIn (i_nLanguage as ENUMProgrammingLanguage) as ErrorMarkers

 

Description

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.

 

An object that can be used to iterate through all messages issued by the code generation process is  returned. These messages are the same as those shown in the Messages window of MapForce.

 

Errors


1700

The object is no longer valid.


1701

Invalid language specified or invalid address for the return parameter was specified.


1706

Error during code generation.

 


(C) 2019 Altova GmbH