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


DocumentExtensions.GetVstoObject Method

Include Protected Members
Include Inherited Members

Returns a Microsoft.Office.Tools.Word.Document host item that extends the functionality of the current Microsoft.Office.Interop.Word.Document object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member GetVstoObject(_Document, ApplicationFactory) Returns a Microsoft.Office.Tools.Word.Document host item that extends the functionality of the current Microsoft.Office.Interop.Word.Document object in an application-level add-in. Pass the Globals.Factory object in your project to the factory parameter.
Public methodStatic member GetVstoObject(_Document, Factory) Returns a Microsoft.Office.Tools.Word.Document host item that extends the functionality of the current Microsoft.Office.Interop.Word.Document object in a document-level customization. Pass the Globals.Factory object in your project to the factory parameter.

Top

See Also

Reference

DocumentExtensions Class

Microsoft.Office.Tools.Word.Extensions Namespace