Back to Devexpress

PivotFieldReferenceCollection.Item[String] Property

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

latest2.3 KB
Original Source

PivotFieldReferenceCollection.Item[String] Property

Provides access to an individual row or column field in the collection by its name.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

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

Parameters

NameTypeDescription
nameString

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

|

Property Value

TypeDescription
PivotFieldReference

A PivotFieldReference object that is a row or column field with the specified name.

|

Remarks

Use the Item property to obtain a specific row or column field in the corresponding collection by specifying its name. If no matches are found, this method returns null ( Nothing in Visual Basic).

See Also

Pivot Tables in Spreadsheet Documents

Pivot Table API

How to: Create a Pivot Table

PivotFieldReferenceCollection Interface

PivotFieldReferenceCollection Members

DevExpress.Spreadsheet Namespace