Back to Devexpress

PivotCalculatedFieldCollection.IndexOf(PivotField) Method

officefileapi-devexpress-dot-spreadsheet-dot-pivotcalculatedfieldcollection-dot-indexof-x28-devexpress-dot-spreadsheet-dot-pivotfield-x29.md

latest1.6 KB
Original Source

PivotCalculatedFieldCollection.IndexOf(PivotField) Method

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

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
int IndexOf(
    PivotField field
)
vb
Function IndexOf(
    field As PivotField
) As Integer

Parameters

NameTypeDescription
fieldPivotField

A PivotField object that specifies the calculated field to locate in the collection.

|

Returns

TypeDescription
Int32

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

|

See Also

PivotCalculatedFieldCollection Interface

PivotCalculatedFieldCollection Members

DevExpress.Spreadsheet Namespace