Venice
Project::WriteProject
 
Inserts or updates the prepared project.
 
void WriteProject (
    enum eReportMode eReportMode
)
 
Parameters
eReportMode
[in] A value of the 'eReportMode' enumeration.
 
See Also
CreateProject
Handling projects using the SDK
PrepareProject
CancelProject
IndexFromSeqNum
 
Samples
 
C++
 
// Change the comment of the project detail with sequence number 3 to 'Updated via the SDK'
VARIANT vEmpty;
vEmpty.vt = VT_EMPTY;

pProject->PrepareProject (paUpdate);

pProject->UpdateDetailSel (pProject->IndexFromSeqNum (3), vEmpty, vEmpty, vEmpty, vEmpty, vEmpty, vEmpty, vEmpty, vEmpty, vEmpty, vEmpty, "Updated via the SDK", vEmpty, vEmpty, vEmpty, vEmpty, vEmpty, vEmpty);

pProject->WriteProject (rmFullReport);

C#
 
// Change the comment of the project detail with sequence number 3 to 'Updated via the SDK'
oProject.PrepareProject (ePrepareAction.paUpdate);

oProject.UpdateDetailSel (oProject.IndexFromSeqNum (3), null, null, null, null, null, null, null, null, null, null, "Updated via the SDK", null, null, null, null, null, null);

oProject.WriteProject (eReportMode.rmFullReport);

VBS
 
' Change the comment of the project detail with sequence number 3 to 'Updated via the SDK'
Call oProject.PrepareProject(paUpdate)

Call oProject.UpdateDetailSel(oProject.IndexFromSeqNum(3), Empty, Empty, Empty, Empty, Empty, Empty, Empty, Empty, Empty, Empty, "Updated via the SDK", Empty, Empty, Empty, Empty, Empty, Empty)

Call oProject.WriteProject(rmFullReport)

VB.NET
 
' Change the comment of the project detail with sequence number 3 to 'Updated via the SDK'
oProject.PrepareProject(ePrepareAction.paUpdate)

oProject.UpdateDetailSel(oProject.IndexFromSeqNum(3), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, "Updated via the SDK", Nothing, Nothing, Nothing, Nothing, Nothing, Nothing)

oProject.WriteProject (eReportMode.rmFullReport)