Share via


TablesOfContents Members (Word)

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

Methods

Name

Description

Add

Returns a TableOfContents object that represents a table of contents added to a document.

Item

Returns an individual TableOfContents object in a collection.

MarkEntry

Inserts a TC (Table of Contents Entry) field after the specified range. The method returns a Field object representing the TC field.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Count

Returns a Long that represents the number of tables of contents in the collection. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

Format

Returns or sets the formatting for the tables of contents in the specified document. Read/write WdTocFormat.

Parent

Returns an Object that represents the parent object of the specified TablesOfContents object.