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)

Syntax

'Declaration
<GuidAttribute("00020914-0000-0000-C000-000000000046")> _
Public Interface TablesOfContents _
    Inherits IEnumerable
'Usage
Dim instance As TablesOfContents
[GuidAttribute("00020914-0000-0000-C000-000000000046")]
public interface TablesOfContents : IEnumerable

Remarks

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.

See Also

Reference

TablesOfContents Members

Microsoft.Office.Interop.Word Namespace