CachedData Class

Definition

Contains all of the data that is cached in the data island of a document-level customization.

C#
public sealed class CachedData : Microsoft.VisualStudio.Tools.Applications.CachedDataNodeBase
Inheritance

Remarks

For more information about caching data in document-level customizations, see Caching Data and Accessing Data in Documents on the Server.

Properties

HostItems

Gets the collection of CachedDataHostItem objects that are in the data cache.

Methods

Clear()

Removes the cached data from the document of an Office solution and removes the description of the cached data from the cached data manifest.

ClearData()

Removes the cached data from the document of an Office solution.

FromXml(String)

Reconstructs the cached data in the Office solution from an XML string.

ToXml()

Returns the serialized XML representation of the data that is cached in a document of an Office solution.

Applies to

Toode Versioonid
Visual Studio Tools for Office 2017, 2019, 2022