Freigeben über


ICachedType.BeforeSave Method

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

Namespace:  Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)

Syntax

'Declaration
Function BeforeSave As Boolean
bool BeforeSave()

Return Value

Type: System.Boolean
false if the state of the type should not be saved; otherwise, true.

.NET Framework Security

See Also

Reference

ICachedType Interface

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace