ICachedType Interface

 

Customizes the caching behavior of a type in document-level customizations.

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

public interface ICachedType

NameDescription
System_CAPS_pubpropertyIsDirty

Gets a value that indicates whether the cached type has changed since the last time it was saved.

NameDescription
System_CAPS_pubmethodAfterLoad()

Called after the Visual Studio Tools for Office runtime has finished loading the type.

System_CAPS_pubmethodAfterSave()

Called after a save operation is completed for the type.

System_CAPS_pubmethodBeforeLoad()

Called before the Visual Studio Tools for Office runtime loads the type.

System_CAPS_pubmethodBeforeSave()

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

Classes that implement ICachedType offer a greater degree of control over caching behavior to the developer than classes that simply conform to the requirements of XmlSerializer. For more information, see Caching Data.

Return to top
Show: