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)

Usage

Public Class ablesOfContentsImplementation
    Implements TablesOfContents
End Class
Dim ablesOfContentsImplementation1 As New ablesOfContentsImplementation()

Syntax

Public Interface TablesOfContents
    Inherits IEnumerable
public interface TablesOfContents : IEnumerable
public interface class TablesOfContents : public IEnumerable
public interface TablesOfContents implements IEnumerable
public interface TablesOfContents implements 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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace

Other Resources

TablesOfContents Members