Bookmark.InnerObject Property


Gets the underlying Bookmark object of the Bookmark control.

public Microsoft.Office.Interop.Word.Bookmark InnerObject { get; }

Property Value


A Bookmark object.


You cannot pass a Microsoft.Office.Tools.Word.Bookmark host control to a method or property that expects the underlying object (a Microsoft.Office.Interop.Word.Bookmark). You must use the InnerObject property of the Microsoft.Office.Tools.Word.Bookmark host control to access the underlying Microsoft.Office.Interop.Word.Bookmark. You then pass this object to a method or property that expects a Microsoft.Office.Interop.Word.Bookmark. For more information, see Programmatic Limitations of Host Items and Host Controls.

Applies to