ContentControlBase.InnerObject Property
Gets the underlying Microsoft.Office.Interop.Word.ContentControl object for the Microsoft.Office.Tools.Word.ContentControlBase.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Syntax
'Declaration
ReadOnly Property InnerObject As ContentControl
ContentControl InnerObject { get; }
Property Value
Type: Microsoft.Office.Interop.Word.ContentControl
The underlying Microsoft.Office.Interop.Word.ContentControl object for the Microsoft.Office.Tools.Word.ContentControlBase.
Remarks
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.
.NET Framework Security
- 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.
See Also
Reference
Microsoft.Office.Tools.Word Namespace