CalculatedFieldCollection.Add(String, String, String, CalculatedFieldType) Method

Adds a new calculated field to the CalculatedFieldCollection collection

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v18.2.Core.dll

Declaration

public CalculatedField Add(
    string dataMember,
    string expression,
    string name,
    CalculatedFieldType dataType
)
Public Function Add(
    dataMember As String,
    expression As String,
    name As String,
    dataType As CalculatedFieldType
) As CalculatedField

Parameters

Type Name Description
String dataMember

A String that specifies the data member.

String expression

A String that specifies the expression of the calculated field.

String name

A String that specifies the name of the calculated field.

CalculatedFieldType dataType

A CalculatedFieldType enumeration member specifying the type of the value returned by the calculated field.

Returns

Type Description
CalculatedField

A CalculatedField object representing the newly created calculated field.

See Also