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 | 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. |