Document.InnerObject Property (2007 System)
Gets a Document that represents the underlying native object for the Microsoft.Office.Tools.Word.Document.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property InnerObject As Document
'Usage
Dim instance As Document
Dim value As Document
value = instance.InnerObject
[BrowsableAttribute(false)]
public Document InnerObject { get; }
[BrowsableAttribute(false)]
public:
property Document^ InnerObject {
Document^ get ();
}
public function get InnerObject () : Document
Property Value
Type: Document
A Document that represents the underlying native object for the Microsoft.Office.Tools.Word.Document.
Remarks
You cannot pass a Microsoft.Office.Tools.Word.Document host control to a method or property that expects the underlying object (a Document). You must use the InnerObject property of the Microsoft.Office.Tools.Word.Document host control to access the underlying Document. You then pass this object to a method or property that expects a Document. For more information, see Programmatic Limitations of Host Items and Host Controls.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.