Aspose::Words::Fields::FieldRD::get_FileName method. Gets or sets the name of the file to include when generating a table of contents, table of authorities, or index in C++....InsertField ( FieldType :: FieldTOC , true ); builder -> InsertBreak (...( FieldType :: FieldRefDoc , true )); field -> set_FileName (...