Click or drag to resize

PivotTableFields Remove Method

Removes the first occurrence of a specific object from the PivotField collection.

Namespace: Spire.Xls
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public bool Remove(
	PivotField item
)

Parameters

item
Type: Spire.Xls PivotField
The PivotField object to remove from the collection.

Return Value

Type: Boolean
true if item was successfully removed from the collection; otherwise, false. This method also returns false if item is not found in the collection.
See Also