CachedDataItem Class

 

Represents a cached data object in a document-level customization that was created by using the Office development tools in Visual Studio.

Namespace:   Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.ServerDocument (in Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll)

System::Object
  Microsoft.VisualStudio.Tools.Applications::CachedDataNodeBase
    Microsoft.VisualStudio.Tools.Applications::CachedDataItem

[PermissionSetAttribute(SecurityAction::Demand, Name = "FullTrust")]
public ref class CachedDataItem sealed : CachedDataNodeBase

NameDescription
System_CAPS_pubpropertyDataType

Gets or sets the assembly-qualified name of the type of the cached data object.

System_CAPS_pubpropertyId

Gets or sets the name of the cached data object that is represented by the CachedDataItem.

System_CAPS_pubpropertySchema

Gets or sets a schema that describes the cached data object that is represented by the CachedDataItem, if the cached data object is a DataSet or DataTable.

System_CAPS_pubpropertyXml

Gets or sets the XML representation of the cached data object that is represented by the CachedDataItem.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSerializeDataInstance(Object^)

Serializes data to the cached data object that is represented by the CachedDataItem.

System_CAPS_pubmethodToString()

(Inherited from Object.)

For more information about caching data in document-level customizations, see Caching Data and Accessing Data in Documents on the Server.

The following code example examines each CachedDataItem in the data cache of an Excel workbook and displays the name of each cached data object.

This example requires:

No code example is currently available or this language may not be supported.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: