## Document::UpdateFields method Updates the values of fields in the whole document. ```cpp void Aspose::Words::Document::UpdateFields() ``` ## Remarks When you open, modify and then save a documen......Examples Shows how to insert a Table of contents (TOC) into a document...Builder>(doc); // Insert a table of contents for the first page...