[]
        
(Showing Draft Content)

GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.FromString

FromString Method

FromString(string, ExpressionResultType)

Creates an ExpressionInfo object from a string expression representation.

Declaration
public static ExpressionInfo FromString(string expressionString, ExpressionResultType type)
Parameters
Type Name Description
string expressionString

The expression string.

ExpressionResultType type

If the expressionString parameter does not start with an equals sign (=), then the expression is treated as a constant with an enumerated ExpressionResultType.

Returns
Type Description
ExpressionInfo

an ExpressionInfo object that represents the specified expression.