PivotCalculatedFieldCollection.Item[String] Property
Provides access to an individual calculated field in the collection by its name.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
PivotField this[string name] { get; }
#Parameters
Name | Type | Description |
---|---|---|
name | String | A string that specifies the name of the calculated field to be obtained. |
#Property Value
Type | Description |
---|---|
Pivot |
A Pivot |
#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).