Поделиться через


Microsoft.VisualStudio.Tools.Applications Namespace

The Microsoft.VisualStudio.Tools.Applications namespace contains the ServerDocument class and a set of related cached data classes. These classes are intended to be used to manage aspects of documents and workbooks that are part of document-level customizations created by using Office development tools in Visual Studio,

You can use the ServerDocument class to perform the following tasks:

  • Access and modify data in the data cache of a document or workbook that is part of a document-level customization.

  • Programmatically attach a customization assembly to a document or workbook at run time, or remove a customization assembly from a document or workbook.

  • Determine whether a document or workbook has a customization assembly or a data cache.

  • Get the URL of the deployment manifest that is associated with the document, or change the URL.

For more information, see Managing Documents on a Server by Using the ServerDocument Class.

Classes

  Class Description
Public class CachedData Contains all of the data that is cached in the data island of a document-level customization.
Public class CachedDataHostItem Contains all of the cached data objects that are declared in a single class in a document-level customization that was created by using the Office development tools in Visual Studio.
Public class CachedDataHostItemCollection Represents a collection of CachedDataHostItem objects in the data cache of a document-level customization that was created by using the Office development tools in Visual Studio.
Public class CachedDataHostItemEnumerator Iterates through a CachedDataHostItemCollection.
Public class CachedDataItem Represents a cached data object in a document-level customization that was created by using the Office development tools in Visual Studio.
Public class CachedDataItemCollection Represents a collection of CachedDataItem objects in a document-level customization that was created by using the Office development tools in Visual Studio.
Public class CachedDataItemEnumerator Iterates through a CachedDataItemCollection.
Public class CachedDataNodeBase Infrastructure. Provides the base class for cached data classes used in document-level customizations created by using the Office development tools in Visual Studio.
Public class ServerDocument Provides access to the cached data and customization information in a document or workbook that is part of a document-level customization created by using the Office development tools in Visual Studio.

See Also

Reference

Other Resources

Managing Documents on a Server by Using the ServerDocument Class

Accessing Data in Documents on the Server

Cached Data in Document-Level Customizations