TablesOfContents interface

A collection of TableOfContents objects that represent the tables of contents in a document.

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

public interface TablesOfContents : IEnumerable

Use the TablesOfContents property to return the TablesOfContents collection.

Use the Add method to add a table of contents to 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.