Documents Interface 

A collection of all the Document objects that are currently open in Word.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Public Class ocumentsImplementation
    Implements Documents
End Class
Dim ocumentsImplementation1 As New ocumentsImplementation()

Syntax

Public Interface Documents
    Inherits IEnumerable
public interface Documents : IEnumerable
public interface class Documents : public IEnumerable
public interface Documents implements IEnumerable
public interface Documents implements IEnumerable

Remarks

Use the Documents property to return the Documents collection.

Use the Add method to create a new empty document and add it to the Documents collection.

Use the Open method to open a file.

Use Documents(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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace

Other Resources

Documents Members