Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets a Document that represents the underlying native object for the document host item that this DocumentBase represents.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Syntax
'Declaration
Public ReadOnly Property InnerObject As Document
public Document InnerObject { get; }
Property Value
Type: Document
A Document that represents the underlying native object for the DocumentBase.
Remarks
You cannot pass a DocumentBase object to a method or property in the Word object model that expects a Document object. You can use the InnerObject property to access the underlying Document, and then you can 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.