Back to Devexpress

PivotCalculatedItemCollection.IndexOf(PivotItem) Method

officefileapi-devexpress-dot-spreadsheet-dot-pivotcalculateditemcollection-dot-indexof-x28-devexpress-dot-spreadsheet-dot-pivotitem-x29.md

latest1.6 KB
Original Source

PivotCalculatedItemCollection.IndexOf(PivotItem) Method

Returns the index of the specified calculated item in the collection.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
int IndexOf(
    PivotItem item
)
vb
Function IndexOf(
    item As PivotItem
) As Integer

Parameters

NameTypeDescription
itemPivotItem

A PivotItem object that specifies the calculated item to locate in the collection.

|

Returns

TypeDescription
Int32

A zero-based integer which specifies the item’s position within the collection. -1 if the item doesn’t belong to the collection.

|

See Also

PivotCalculatedItemCollection Interface

PivotCalculatedItemCollection Members

DevExpress.Spreadsheet Namespace