## PivotItem class

Represents an item in a PivotTable field. The items are the individual data entries in a field category. The PivotItem object is a member of the PivotItems collection. The PivotItems collection contains all the items in a PivotField object.

```csharp
[Obsolete("This class is obsolete; use GridPivotItem instead")]
public class PivotItem : IComparable
```

## Properties

| Name | Description |
| --- | --- |
| [Name](../../aspose.cells.gridweb.data/pivotitem/name/) { get; } | Gets the name |
| [Parent](../../aspose.cells.gridweb.data/pivotitem/parent/) { get; } | Gets the parent object for the specified object. Read-only. |
| [Value](../../aspose.cells.gridweb.data/pivotitem/value/) { get; } | Gets the value of the specified item. |
| [Visible](../../aspose.cells.gridweb.data/pivotitem/visible/) { get; set; } | Represents whether the specified item visible. |

## Methods

| Name | Description |
| --- | --- |
| [CompareTo](../../aspose.cells.gridweb.data/pivotitem/compareto/)(object) | Compares this instance to a specified object and returns an indication of their relative values. |
| override [Equals](../../aspose.cells.gridweb.data/pivotitem/equals/)(object) | Determines whether two Object instances are equal. |
| override [GetHashCode](../../aspose.cells.gridweb.data/pivotitem/gethashcode/)() | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
| override [ToString](../../aspose.cells.gridweb.data/pivotitem/tostring/)() | Returns a String that represents the current Object |

### Remarks

NOTE: This class is now obsolete. please use GridPivotItem 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](../../)


