Skip to main content
Row

PivotTableCollection.Item[String] Property

Provides access to an individual pivot table in the collection by its name.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

PivotTable this[string name] { get; }

Parameters

Name Type Description
name String

A string that specifies the name of the pivot table to be obtained. This value matches the value of the PivotTable.Name property.

Property Value

Type Description
PivotTable

A PivotTable object that is a pivot table with the specified name.

Remarks

Use the Item property to obtain a pivot table by its name from the worksheet’s collection of pivot tables. When searching, the name parameter value is compared to the PivotTable.Name property of the PivotTable objects. If no matches are found, this method returns null (Nothing in Visual Basic).

See Also