Udostępnij za pośrednictwem


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

See Also

Reference

ContentControlBase Interface

Microsoft.Office.Tools.Word Namespace

Other Resources

Host Items and Host Controls Overview

Programmatic Limitations of Host Items and Host Controls