Updates the content and the page numbers of the table of contents.

Update()

public TableOfContentsCollection.AddResult Update();

Return Value

The return value specifies whether the new table of contents has successfully been updated. It can be one of the TableOfContentsCollection.AddResult values.