Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Public Interface ICachedType
public interface ICachedType
The ICachedType type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() |
IsDirty | Gets a value that indicates whether the cached type has changed since the last time it was saved. |
Top
Methods
| 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. |
Top
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.
.gif)
.gif)