## PivotItems class

Represents A collection of all the PivotItem objects in a PivotTable field. The items are the individual data entries in a field category.

```csharp
[Obsolete("This class is obsolete; use GridPivotItemCollection instead")]
public class PivotItems : ICollection
```

## Properties

| Name | Description |
| --- | --- |
| [Count](../../aspose.cells.gridweb.data/pivotitems/count/) { get; } | Gets the number of elements contained in the PivotItems instance |
| [IsSynchronized](../../aspose.cells.gridweb.data/pivotitems/issynchronized/) { get; } | Gets a value indicating whether access to the PivotItems is synchronized (thread-safe). |
| [Item](../../aspose.cells.gridweb.data/pivotitems/item/) { get; } | Gets a item by index. (2 indexers) |
| [Parent](../../aspose.cells.gridweb.data/pivotitems/parent/) { get; } | Gets the parent object for the specified object. Read-only. |
| [SyncRoot](../../aspose.cells.gridweb.data/pivotitems/syncroot/) { get; } | Gets an object that can be used to synchronize access to the PivotItems. |

## Methods

| Name | Description |
| --- | --- |
| [CopyTo](../../aspose.cells.gridweb.data/pivotitems/copyto/)(Array, int) | Copies the entire PivotItem to a compatible one-dimensional Array, starting at the specified index of the target array |
| [GetEnumerator](../../aspose.cells.gridweb.data/pivotitems/getenumerator/)() | Returns an IEnumerator for the PivotItems. |

### Remarks

NOTE: This class is now obsolete. please use GridPivotItemCollection Instead. This class will be removed after 6 months since Aug. 2014. Aspose apologizes for any inconvenience you may have experienced.

### See Also

* namespace [Aspose.Cells.GridWeb.Data](../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../)


