Share via


PivotItem.RecordCount Property

Returns the number of records in the PivotTable cache or the number of cache records that contain the specified item. Read-only Integer.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property RecordCount As Integer
    Get
'Usage
Dim instance As PivotItem
Dim value As Integer

value = instance.RecordCount
int RecordCount { get; }

Property Value

Type: System.Int32

Remarks

This property reflects the transient state of the cache at the time that it’s queried. The cache can change between queries.

See Also

Reference

PivotItem Interface

PivotItem Members

Microsoft.Office.Interop.Excel Namespace