Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll)
Syntax
'Declaration
Function BeforeSave As Boolean
'Usage
Dim instance As ICachedType
Dim returnValue As Boolean
returnValue = instance.BeforeSave()
bool BeforeSave()
bool BeforeSave()
function BeforeSave() : boolean
Return Value
Type: System.Boolean
false if the state of the type should not be saved; otherwise, true.