Removes a table of contents from the collection including all its text and including all DocumentTargets to where the table's links point.

Remove(TableOfContents)

public bool Remove(TableOfContents tableOfContent);

Parameters

Parameter Description
tableOfContent Specifies the table of contents to remove.

Return Value

The return value is true, if the table of contents could be removed. Otherwise, it is false.