Assemblies: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
You cannot pass a Microsoft.Office.Tools.Word.Document object to a method or property in the Word object model that expects a Document object. You can use the 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.
- 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.