Represents a document.
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
The Document object is a member of the Documents collection. The Documents collection contains all the Document objects that are currently open in Microsoft Word.
UseDocuments(index) where index is the document name or index number to return a single Document object.
The index number represents the position of the document in the Documents collection.
Use the ActiveDocument property to refer to the document with the focus.
This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _Document. For information about the event members of the COM object, see DocumentEvents2_Event