DocData.CanSave(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides derived classes a mechanism to cancel a save operation.
protected:
virtual bool CanSave(bool allowUserInterface);
protected virtual bool CanSave (bool allowUserInterface);
abstract member CanSave : bool -> bool
override this.CanSave : bool -> bool
Protected Overridable Function CanSave (allowUserInterface As Boolean) As Boolean
Parameters
- allowUserInterface
- Boolean
True if UI may be displayed (will be false in the case of a silent save).
Returns
True if save should continue, false otherwise.