Skip to main content
All docs
V21.2

DataSourceInfoCollection.GetCalculatedFieldsByDataSourceName(String) Method

Provides access to the collection of calculated fields by the specified datasource name.

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v21.2.Core.dll

NuGet Package: DevExpress.Snap.Core

Declaration

public CalculatedFieldCollection GetCalculatedFieldsByDataSourceName(
    string dataSourceName
)

Parameters

Name Type Description
dataSourceName String

A String value, specifying the name of a datasource.

Returns

Type Description
CalculatedFieldCollection

A CalculatedFieldCollection object.

Remarks

This method returns the collection of the calculated fields if the datasource name has been found. Otherwise, the GetCalculatedFieldsByDataSourceName method returns null (Nothing in Visual Basic).

See Also