[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IPivotCache.Index

Index Property

Index

Gets the index number of this PivotCache within the collection of objects.

Declaration
int Index { get; }
ReadOnly Property Index As Integer
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Name", "Score"},
    {"Alice", 100},
    {"Bob", 90}
};
IPivotCache pivotCache = workbook.PivotCaches.Create(worksheet.Range["A1:B3"]);
int index = pivotCache.Index;