DataSourceInfoCollection.GetCalculatedFieldsByDataSource(Object) Method

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

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v20.1.Core.dll

Declaration

public CalculatedFieldCollection GetCalculatedFieldsByDataSource(
    object dataSource
)
Public Function GetCalculatedFieldsByDataSource(
    dataSource As Object
) As CalculatedFieldCollection

Parameters

Name Type Description
dataSource Object

A Object value, specifying the datasource.

Returns

Type Description
CalculatedFieldCollection

A CalculatedFieldCollection object.

Remarks

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

Implements

DevExpress.Snap.Core.Native.IDataSourceInfoContainer.GetCalculatedFieldsByDataSource(Object)
See Also