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.v20.1.Core.dll

Declaration

public CalculatedFieldCollection GetCalculatedFieldsByDataSourceName(
    string dataSourceName
)
Public Function GetCalculatedFieldsByDataSourceName(
    dataSourceName As String
) As CalculatedFieldCollection

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