13Advanced Topics in VSTO

A little knowledge that acts is worth infinitely more than much knowledge that is idle.

—KAHLIL GIBRAN

Topics Covered in This Chapter

ServerDocument Overview

Attaching and Detaching Document-Based Customizations

Reading and Writing the Data Cache

Clearing the Data Cache

Summary

Review Questions

ServerDocument Overview

VSTO provides a class called ServerDocument to read from and write to the data cache, and to attach and detach solutions that are associated with the document. As discussed in Chapter 11, VSTO document-based solutions have an application manifest and a data cache embedded in the document. The application manifest is used to locate the solution assembly and is linked to the deployment manifest.

The document ...

Get VSTO for Mere Mortals™: A VBA Developer’s Guide to Microsoft Office Development Using Visual Studio 2005 Tools for Office now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.