TableOfContents interface
Office 2013 and later
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)
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.
Show: