The requested page is not available for the requested platform. You are viewing the content for Default platform.

CalculatedField.WrapExpressionToType(String, CalculatedFieldType) Method

Wraps the calculated field's expression to the conversion function according to the specified CalculatedFieldType.

Namespace: DevExpress.DashboardCommon

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

Declaration

public static string WrapExpressionToType(
    string expression,
    CalculatedFieldType toType
)
Public Shared Function WrapExpressionToType(
    expression As String,
    toType As CalculatedFieldType
) As String

Parameters

Name Type Description
expression String

A String that specifies the initial expression.

toType CalculatedFieldType

A CalculatedFieldType enumeration value used to wrap the calculated field's expression to the required conversion function.

Returns

Type Description
String

A String that specifies the expression wrapped to the specified conversion function.

See Also