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)

Syntax

'Declaration
<GuidAttribute("00020913-0000-0000-C000-000000000046")> _
Public Interface TableOfContents
'Usage
Dim instance As TableOfContents
[GuidAttribute("00020913-0000-0000-C000-000000000046")]
public interface TableOfContents

Remarks

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.

See Also

Reference

TableOfContents Members

Microsoft.Office.Interop.Word Namespace