Back to Devexpress

PivotDataFieldCollection.Remove(PivotDataField) Method

officefileapi-devexpress-dot-spreadsheet-dot-pivotdatafieldcollection-dot-remove-x28-devexpress-dot-spreadsheet-dot-pivotdatafield-x29.md

latest1.9 KB
Original Source

PivotDataFieldCollection.Remove(PivotDataField) Method

Removes the specified data field from the collection.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void Remove(
    PivotDataField dataField
)
vb
Sub Remove(
    dataField As PivotDataField
)

Parameters

NameTypeDescription
dataFieldPivotDataField

A PivotDataField object to be removed from the collection.

|

Remarks

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

See Also

RemoveAt(Int32)

Clear()

PivotDataFieldCollection Interface

PivotDataFieldCollection Members

DevExpress.Spreadsheet Namespace