共用方式為


Bookmark.InnerObject Property

Definition

Gets the underlying Bookmark object of the Bookmark control.

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

Property Value

A Bookmark object.

Remarks

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