CachedData.Clear 方法

从 Office 解决方案文档中移除缓存数据,并从缓存的数据清单中移除缓存数据的说明。

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

语法

声明
Public Sub Clear
public void Clear()

备注

若要仅移除缓存数据而保留缓存数据清单中的缓存数据的说明,请使用 ClearData 方法。

缓存数据清单是 Office 解决方案文档中的缓存数据的 XML 说明。

.NET Framework 安全性

请参见

参考

CachedData 类

Microsoft.VisualStudio.Tools.Applications 命名空间