Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Document.InnerObject Property

Gets a Microsoft.Office.Interop.Word.Document that represents the underlying native object for the Microsoft.Office.Tools.Word.Document.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Document InnerObject { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Document
A Microsoft.Office.Interop.Word.Document that represents the underlying native object for the Microsoft.Office.Tools.Word.Document.

You cannot pass a Microsoft.Office.Tools.Word.Document object to a method or property in the Word object model that expects a Microsoft.Office.Interop.Word.Document object. You can use the InnerObject property to access the underlying Microsoft.Office.Interop.Word.Document, and then you can pass this object to a method or property that expects a Microsoft.Office.Interop.Word.Document. For more information, see Programmatic Limitations of Host Items and Host Controls.

Community Additions

ADD
Show:
© 2015 Microsoft