ICachedType Interface
Customizes the caching behavior of a type in document-level customizations.
Assembly: Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)
| Name | Description | |
|---|---|---|
![]() | IsDirty | Gets a value that indicates whether the cached type has changed since the last time it was saved. |
| Name | Description | |
|---|---|---|
![]() | 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. |
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.
Show:

