Aracılığıyla paylaş


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

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace