Project::Insert (Interface: Project)
 
Inserts a Project.
 
void Insert (
    enum eInsertMode eInsertMode
)
 
Parameters
eInsertMode
[in] A value of the 'eInsertMode' enumeration.
 
Remarks
Only inserting projects using the dialog is allowed, therefore an exception is thrown when using eInsertMode different from imDialog or imDialogFromData.
 
See Also
CreateProject
Init
 
Samples
 
C++
 
// Insert a new record using the dialog, initially filled with the default values
pProject->Init ();
pProject->Insert (imDialog);

C#
 
// Insert a new record using the dialog, initially filled with the default values
oProject.Init ();
oProject.Insert (eInsertMode.imDialog);

VBS
 
' Insert a new record using the dialog, initially filled with the default values
Call oProject.Init()
Call oProject.Insert(imDialog)

VB.NET
 
' Insert a new record using the dialog, initially filled with the default values
oProject.Init()
oProject.Insert(eInsertMode.imDialog)