Compartilhar via


Document.InnerObject Property

Definition

Gets a Document that represents the underlying native object for the Document.

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

Property Value

A Document that represents the underlying native object for the Document.

Remarks

You cannot pass a Microsoft.Office.Tools.Word.Document object to a method or property in the Word object model that expects a Microsoft.Office.Interop.Word.Document object. You can use the InnerObject property to access the underlying Microsoft.Office.Interop.Word.Document, and then you can pass this object to a method or property that expects a Microsoft.Office.Interop.Word.Document. For more information, see Programmatic Limitations of Host Items and Host Controls.

Applies to