Table of Contents Example?

Do you have any examples of creating a document with a table of contents using vb.net and Aspose.words? If so, where would I find them? Thanks!

Hi
Thanks for your inquiry. Please see the following link to learn how to insert TOC using Aspose.Words.
https://docs.aspose.com/words/net/working-with-table-of-contents/
But note that Aspose.Words doesn’t update TOC fields in the document. So you as a workaround you can update field manualy or use a macro. See the following link for more information.
https://support.microsoft.com/en-us/topic/the-filename-field-does-not-automatically-update-when-you-open-a-document-in-word-de2bfb95-d990-1ced-a618-5ac0a2ec1be4
Best regards.