OnBuild Property

           

Sets or returns an enumerated type determining whether, at build time, the environment should save everything before building the solution.

Syntax

Property Get OnBuild() As OnBuildRunEnum

Property Let OnBuild(OnBuildRunEnum)

This syntax has these parts:

Part Description
OnBuildRunEnum A required enumerated type. SAVE_CHANGES indicates Visual Studio should save before building. CONFIRM_SAVE indicates Visual Studio should check whether anything needs to be saved, and notify the user if so. NO_SAVE indicates Visual Studio should neither check nor save.