Navigation:  Object Model Reference > Project Object >

Save Method

Previous pageReturn to chapter overviewNext page

Saves the current project file.

 

Syntax

 

Project.Save(ByVal filename As String = "", ByVal includeStatus As ProjectStatusSaveOptionsEnum = vbldSaveStatusUseDefault, ByVal includeExpandState As Boolean = False)

 

Arguments

 

Project

       Project object

 

filename

       Optional.  The filename to save the project to (replaces the existing project file if not provided).

 

includeStatus

       Optional.  Whether to persist the build status with the project file.  The values for includeStatus are:

Constant

Value

Description

vbldSaveStatusUseDefault

0

Use the setting configured in the Options object.

vbldSaveStatusInclude

1

Save each step's build status in the project file.

vbldSaveStatusExclude

2

Do not save the step build status in the project file.

 

includeExpandState

       Optional.  Determines whether the expand/collapse state of each step is written to the project file.

 

 

See Also

 

Applies to Project object