共用方式為


ContentControlBase.InnerObject Property

Definition

Gets the underlying ContentControl object for the ContentControlBase.

public:
 property Microsoft::Office::Interop::Word::ContentControl ^ InnerObject { Microsoft::Office::Interop::Word::ContentControl ^ get(); };
public Microsoft.Office.Interop.Word.ContentControl InnerObject { get; }
member this.InnerObject : Microsoft.Office.Interop.Word.ContentControl
Public ReadOnly Property InnerObject As ContentControl

Property Value

The underlying ContentControl object for the 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.

Applies to