Reading and Writing the Data Cache

VSTO's data caching feature enables you to embed data in the document. The data cache travels with the document when you copy or send it. The embedded data cache also enables the offline scenario by storing the data locally when you are not connected to the server. Users seldom need to think about how the data is stored. VSTO makes client programming of the data cache very easy. Often it is as simple as setting the CacheInDocument property to True. You can also add the Cached attribute to variables you want VSTO to store in the data cache.

0 0

Post a comment