Skip to main content
Row

PivotCalculatedFieldCollection Members

A collection of calculated fields in a PivotTable report.

Properties

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
First Returns the first calculated field in the PivotCalculatedFieldCollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
Item[String] Provides access to an individual calculated field in the collection by its name.
Last Returns the last calculated field in the PivotCalculatedFieldCollection.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

Name Description
Add(String, String) Creates a new calculated field with the specified name and appends this field to the collection.
Add(String) Creates a new calculated field and appends it to the collection.
Clear() Removes all calculated fields from the collection.
Contains(PivotField) Determines whether the collection contains the specified field.
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
IndexOf(PivotField) Returns the index of the specified calculated field in the collection.
Remove(PivotField) Removes the specified calculated field from the collection.
RemoveAt(Int32) Removes the calculated field at the specified index from the collection.
See Also