CachedData 类 (2007 system)

更新:2007 年 11 月

包含缓存在使用 Visual Studio Tools for Office 创建的文档级自定义项的数据岛中的所有数据。

命名空间:  Microsoft.VisualStudio.Tools.Applications
程序集:  Microsoft.VisualStudio.Tools.Applications.ServerDocument.v9.0(在 Microsoft.VisualStudio.Tools.Applications.ServerDocument.v9.0.dll 中)

语法

声明
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class CachedData _
    Inherits CachedDataNodeBase
用法
Dim instance As CachedData
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class CachedData : CachedDataNodeBase

备注

有关在文档级自定义项中缓存数据的更多信息,请参见缓存数据访问服务器上的文档数据

说明:

此类只能用于 Microsoft Office Word 2007 和 Microsoft Office Excel 2007 的解决方案。若要访问 Word 2003 和 Excel 2003 的解决方案中的缓存数据,请使用 Visual Studio 2005 Tools for Office Second Edition 运行时中 Microsoft.VisualStudio.Tools.Applications.Runtime 命名空间中的 CachedData 类。有关更多信息,请参见使用 ServerDocument 类管理服务器上的文档

继承层次结构

System.Object
  Microsoft.VisualStudio.Tools.Applications.CachedDataNodeBase
    Microsoft.VisualStudio.Tools.Applications.CachedData

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

另请参见

参考

CachedData 成员

Microsoft.VisualStudio.Tools.Applications 命名空间

其他资源

缓存数据

访问服务器上的文档数据