共用方式為


DocData.CanSave(Boolean) Method

Definition

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.

Applies to