共用方式為


Bookmark.InnerObject Property

Gets the underlying Microsoft.Office.Interop.Word.Bookmark object of the Microsoft.Office.Tools.Word.Bookmark control.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
ReadOnly Property InnerObject As Bookmark
Bookmark InnerObject { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Bookmark
A Microsoft.Office.Interop.Word.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.

.NET Framework Security

See Also

Reference

Bookmark Interface

Microsoft.Office.Tools.Word Namespace