CachedData Class
Contains all of the data that is cached in the data island of a document-level customization.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Tools.Applications.CachedDataNodeBase
Microsoft.VisualStudio.Tools.Applications.CachedData
Namespace: Microsoft.VisualStudio.Tools.Applications
Assembly: Microsoft.VisualStudio.Tools.Applications.ServerDocument (in Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll)
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class CachedData _
Inherits CachedDataNodeBase
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class CachedData : CachedDataNodeBase
The CachedData type exposes the following members.
Properties
Name | Description | |
---|---|---|
HostItems | Gets the collection of CachedDataHostItem objects that are in the data cache. |
Top
Methods
Name | Description | |
---|---|---|
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. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
FromXml | Reconstructs the cached data in the Office solution from an XML string. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ToXml | Returns the serialized XML representation of the data that is cached in a document of an Office solution. |
Top
Remarks
For more information about caching data in document-level customizations, see Caching Data and Accessing Data in Documents on the Server.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications Namespace
Other Resources
Managing Documents on a Server by Using the ServerDocument Class