OnRunOrPreview Property

      Applies To

Sets or returns an enumerated value determining whether the environment should save everything before running or previewing the solution.

Syntax

Property Get OnRunOrPreview() As OnBuildRunEnum

Property Let OnRunOrPreview(OnBuildRunEnum)

This syntax has these parts:

Part Description
OnBuildRunEnum Optional enumerated value. SAVE_CHANGES indicates a save should occur before run or preview. CONFIRM_SAVE indicates a check should be done to see whether anything needs to be saved, and notify the user if so. NO_SAVE indicates neither a check nor save will be done.