Partager via


ICachedType Interface

Definition

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

public interface class ICachedType
public interface ICachedType
type ICachedType = interface
Public Interface ICachedType

Remarks

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.

Properties

IsDirty

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

Methods

AfterLoad()

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

AfterSave()

Called after a save operation is completed for the type.

BeforeLoad()

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

BeforeSave()

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

Applies to