[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IPivotCache.RecordCount

RecordCount Property

RecordCount

Gets the number of records in the PivotTable cache.

This value reflects the number of source records currently stored in the cache.

Declaration
int RecordCount { get; }
ReadOnly Property RecordCount As Integer
Examples
worksheet.Range["A1:B4"].Value = new object[,] {
    {"Region", "Sales"},
    {"East", 100},
    {"West", 200},
    {"East", 150}
};
IPivotCache pivotCache = workbook.PivotCaches.Create(worksheet.Range["A1:B4"]);
int recordCount = pivotCache.RecordCount;