Share via


ICachedType.BeforeSave Method

Definition

Called before the Visual Studio Tools for Office runtime persists the type into the document.

public:
 bool BeforeSave();
public bool BeforeSave ();
abstract member BeforeSave : unit -> bool
Public Function BeforeSave () As Boolean

Returns

false if the state of the type should not be saved; otherwise, true.

Applies to