This documentation is archived and is not being maintained.

TableOfContents Interface

Represents a single table of contents in a document.

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

<GuidAttribute("00020913-0000-0000-C000-000000000046")> _
Public Interface TableOfContents
Dim instance As TableOfContents

The TableOfContents object is a member of the TableOfContents collection. The TablesOfContents collection includes all the tables of contents in a document.

Use TablesOfContents(index), where index is the index number, to return a single TableOfContents object. The index number represents the position of the table of contents in the document.

Use the Add method to add a table of contents to a document.