Share via


_Document Interface

Represents a document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
<GuidAttribute("0002096B-0000-0000-C000-000000000046")> _
Public Interface _Document
'Usage
Dim instance As _Document
[GuidAttribute("0002096B-0000-0000-C000-000000000046")]
public interface _Document

Remarks

The Document object is a member of the Documents collection. The Documents collection contains all the Document objects that are currently open in 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.

See Also

Reference

_Document Members

Microsoft.Office.Interop.Word Namespace