How to remove page numbering from TOC generated using ASPOSE

I am using below code to generate TOC using ASPOSE.Words but its also adding page numbers data to TOC which I do not want. How to get rid of it ?

Aspose.Words.Document doc = new Aspose.Words.Document(filePath);
Aspose.Words.DocumentBuilder builder = new Aspose.Words.DocumentBuilder(doc);
builder.InsertTableOfContents("\\o \"1-3\" \\h \\z");

doc.UpdatePageLayout();
doc.UpdateFields();
     
doc.Save(filePath);

@hrnallap You should add \n switch to TOC field to remove omit page numbers from the table of contents:

Aspose.Words.Document doc = new Aspose.Words.Document(@"C:\Temp\in.docx");
Aspose.Words.DocumentBuilder builder = new Aspose.Words.DocumentBuilder(doc);
builder.InsertTableOfContents("\\o \"1-3\" \\h \\z \\n");

doc.UpdatePageLayout();
doc.UpdateFields();

doc.Save(@"C:\Temp\out.docx");