Navigation: Object Model Reference > Application Object > Initialize Method |
|
Initializes the application object.
Syntax
Application.Initialize(ByVal context As BuilderCreateContextEnum, Optional ByVal builder As IBuilder = Nothing)
Arguments
Application
Application object
context
Required. Context identifying how the application was created. Possible values:
Constant |
Value |
Description |
vbldContextAutomation |
0 |
The builder was created via automation (default). |
vbldContextGUI |
1 |
The builder was created by the GUI App. |
vbldContextCommandLine |
2 |
The builder was created by the console app. |
builder
Optional. Builder object to initialize with. Note: providing this value will create a circular dependency between the Builder and Application objects. You must call Uninitialize to break the circular dependency to avoid memory leaks.
See Also
Applies to Application object