Freigeben über


<document> Element (Office Development in Visual Studio)

The document element of the vstov4 namespace stores customization-specific information for document-level customizations.

<document solutionId />

Elements and Attributes

Required only for document-level customizations. The document element is in the vstov4 namespace. The document element has the following attributes.

Attribute

Description

solutionId

Required. The GUID used by the Visual Studio Tools for Office runtime to uniquely identify a document-level solution. This value is stored as the _AssemblyLocation custom document property. For more information, see Custom Document Properties Overview.

document has no child elements.

Document-Level Customization Example

Description

The following code example illustrates the document element in a document-level Office solution deployed by using ClickOnce. This code example is part of a larger example provided in Application Manifests for Office Solutions.

Code

        <vstov4:document 
          solutionId="73e" />

See Also

Reference

Application Manifests for Office Solutions

Deployment Manifests for Office Solutions

ClickOnce Application Manifest