Udostępnij za pośrednictwem


ICachedType.BeforeSave Method (2007 System)

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.

See Also

Reference

ICachedType Interface

ICachedType Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace