Partager via


IApplicationModel.PromptSaveChangesIfDirtyAndContinue Method

Prompts the user to save any unsaved changes.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.Services
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Function PromptSaveChangesIfDirtyAndContinue As Boolean
bool PromptSaveChangesIfDirtyAndContinue()
bool PromptSaveChangesIfDirtyAndContinue()
function PromptSaveChangesIfDirtyAndContinue() : boolean

Return Value

falsefalse (False in Visual Basic) if the user choose not to save changes or the save operation failed. Otherwise truetrue (True in Visual Basic).

See Also

IApplicationModel Interface

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.Services Namespace