CachedDataItem::Id Property
Gets or sets the name of the cached data object that is represented by the CachedDataItem.
Assembly: Microsoft.VisualStudio.Tools.Applications.ServerDocument (in Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll)
Property Value
Type: System::String^The name of the cached data object that is represented by the CachedDataHostItem.
The following code example uses the Id property to display the names of the cached data objects in an Excel workbook.
This example requires:
A console application project or some other non-Office project.
References to the following assemblies:
Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll
Microsoft.VisualStudio.Tools.Applications.Runtime.dll
Imports (for Visual Basic) or using (for C#) statements for Microsoft.VisualStudio.Tools.Applications and Microsoft.VisualStudio.Tools.Applications.Runtime namespaces at the top of your code file.
Show: