Share via


DocumentExtensions.HasVstoObject Method

Include Protected Members
Include Inherited Members

Returns a value that indicates whether a Microsoft.Office.Tools.Word.Document host item has been created for 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 HasVstoObject(_Document, ApplicationFactory) Returns a value that indicates whether a Microsoft.Office.Tools.Word.Document host item has been created for 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 HasVstoObject(_Document, Factory) Returns a value that indicates whether a Microsoft.Office.Tools.Word.Document host item has been created for 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