DocumentBase.InnerObject 属性

定义

获取一个 Document,它表示此 DocumentBase 所表示的文档宿主项的基础本机对象。

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

属性值

Document

一个 Document,表示 DocumentBase 的基础本机对象。

注解

不能将 DocumentBase 对象传递到需要对象的 Word 对象模型中的方法或属性 Microsoft.Office.Interop.Word.Document 。 您可以使用 InnerObject 属性访问基础 Microsoft.Office.Interop.Word.Document ,然后可以将此对象传递到需要的方法或属性 Microsoft.Office.Interop.Word.Document 。 有关更多信息,请参见 Programmatic Limitations of Host Items and Host Controls

适用于