ContentControlBase.InnerObject Property
Gets the underlying Microsoft.Office.Interop.Word.ContentControl object for the Microsoft.Office.Tools.Word.ContentControlBase.
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Property Value
Type: Microsoft.Office.Interop.Word.ContentControlThe underlying Microsoft.Office.Interop.Word.ContentControl object for the Microsoft.Office.Tools.Word.ContentControlBase.
Every host control in an Office project has an underlying object in the object model of the host application. Use the InnerObject property in a Word project to access the underlying Microsoft.Office.Interop.Word.ContentControl object for a Microsoft.Office.Tools.Word.ContentControlBase object. For more information, see Host Items and Host Controls Overview and Programmatic Limitations of Host Items and Host Controls.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.