Back to Devexpress

PivotGridFieldCollectionBase.GetFieldByName(String) Method

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldcollectionbase-dot-getfieldbyname-x28-system-dot-string-x29.md

latest1.9 KB
Original Source

PivotGridFieldCollectionBase.GetFieldByName(String) Method

Gets a field in the collection by its name.

Namespace : DevExpress.XtraPivotGrid

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

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
public PivotGridFieldBase GetFieldByName(
    string name
)
vb
Public Function GetFieldByName(
    name As String
) As PivotGridFieldBase

Parameters

NameTypeDescription
nameString

A string that is the PivotGridFieldBase.Name property value.

|

Returns

TypeDescription
PivotGridFieldBase

A PivotGridFieldBase object that is a field with the specified name; null if the collection doesn’t contain such a field.

|

See Also

Name

PivotGridFieldCollectionBase Class

PivotGridFieldCollectionBase Members

DevExpress.XtraPivotGrid Namespace