I'm working off a template document that has an existing Table of Contents object. I am having trouble identifying it and assigning it to a TableOfContents object programatically for further manipulation/updating.
I have examined the documentation for the TablesOfContents interface, and the only way I can see to return an object of the proper type is through the TablesOfContents.Add() function. I don't want to add a new TOC though. I just want to identify the one that already exists.