Back to Devexpress

PivotCalculatedFieldCollection.Remove(PivotField) Method

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

latest1.9 KB
Original Source

PivotCalculatedFieldCollection.Remove(PivotField) Method

Removes the specified calculated field from the collection.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void Remove(
    PivotField field
)
vb
Sub Remove(
    field As PivotField
)

Parameters

NameTypeDescription
fieldPivotField

A PivotField object that specifies the calculated field to be removed from the collection.

|

Remarks

To remove a calculated field from the collection by its index, use the PivotCalculatedFieldCollection.RemoveAt method. To remove all calculated fields from the collection, use the PivotCalculatedFieldCollection.Clear method.

See Also

RemoveAt(Int32)

Clear()

PivotCalculatedFieldCollection Interface

PivotCalculatedFieldCollection Members

DevExpress.Spreadsheet Namespace