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

<void> TableOfContentsCollection.remove(<TableOfContents> element, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
element The table of contents to remove.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.