Back to Devexpress

PivotCalculatedFieldCollection.Item[String] Property

officefileapi-devexpress-dot-spreadsheet-dot-pivotcalculatedfieldcollection-dot-item-x28-system-dot-string-x29.md

latest2.1 KB
Original Source

PivotCalculatedFieldCollection.Item[String] Property

Provides access to an individual calculated field in the collection by its name.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
PivotField this[string name] { get; }
vb
ReadOnly Property Item(name As String) As PivotField

Parameters

NameTypeDescription
nameString

A string that specifies the name of the calculated field to be obtained.

|

Property Value

TypeDescription
PivotField

A PivotField object that is a calculated field with the specified name.

|

Remarks

Use the Item property to obtain a specific calculated field in the collection by specifying its name. When searching, the name parameter value is compared to the PivotField.Name property of the PivotField objects contained in the PivotCalculatedFieldCollection collection. If no matches are found, this method returns null ( Nothing in Visual Basic).

See Also

PivotCalculatedFieldCollection Interface

PivotCalculatedFieldCollection Members

DevExpress.Spreadsheet Namespace