Compartilhar via


PivotCache.MemoryUsed Property

Returns the amount of memory in bytes currently being used by the object.

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

Syntax

'Declaration
ReadOnly Property MemoryUsed As Integer
    Get
'Usage
Dim instance As PivotCache
Dim value As Integer

value = instance.MemoryUsed
int MemoryUsed { get; }

Property Value

Type: System.Int32

Remarks

The MemoryUsed property reflects the transient state of the cache at the time that it’s queried.

If the PivotCache object has no PivotTable report attached to it, this property returns 0 (zero).

See Also

Reference

PivotCache Interface

PivotCache Members

Microsoft.Office.Interop.Excel Namespace