How do you set the custom name of a PivotField in C#? As seen in this Excel screenshot:
sheet.PivotTables[0].RowFields[0].CustomName = "rowName";
sheet.PivotTables[0].ColumnFields[0].CustomName = "colName";
sheet.PivotTables[0].PivotFields[0].CustomName = "fieldName0";
sheet.PivotTables[0].DataFields[0].CustomName = "DataName";
(sheet.PivotTables[0] as XlsPivotTable).CalculateData();