CachedDataHostItem Class
Contains all of the cached data objects that are declared in a single class in a document-level customization that was created by using the Office development tools in Visual Studio.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Tools.Applications.CachedDataNodeBase
Microsoft.VisualStudio.Tools.Applications.CachedDataHostItem
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 CachedDataHostItem _
Inherits CachedDataNodeBase
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class CachedDataHostItem : CachedDataNodeBase
The CachedDataHostItem type exposes the following members.
Properties
Name | Description | |
---|---|---|
CachedData | Gets the collection of cached data objects that are declared in a single class in an Office solution. | |
Id | Gets or sets the namespace and class in which the cached data objects in the CachedDataHostItem are declared. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (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.) |
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