[]
        
(Showing Draft Content)

GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.Parse

Parse Method

Parse(string)

Parses the specified expression string and returns an ExpressionInfo object that represents the specified expression.

Declaration
[Obsolete("Use FromString method instead.")]
public static ExpressionInfo Parse(string expressionString)
Parameters
Type Name Description
string expressionString

String to parse

Returns
Type Description
ExpressionInfo

Parse(string, ExpressionResultType)

Parses the specified expression string and returns an ExpressionInfo object that represents the specified expression.

Declaration
[Obsolete("Use FromString method instead.")]
public static ExpressionInfo Parse(string expressionString, ExpressionResultType subType)
Parameters
Type Name Description
string expressionString

The string to parse

ExpressionResultType subType

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.