ExpressionExtensions.GetValueAsConstantExpression Method
Click or drag to resize
ExpressionExtensionsGetValueAsConstantExpression Method
Gets the value of a RadExpression as a constant expression.

Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly: Telerik.Windows.Documents.Spreadsheet (in Telerik.Windows.Documents.Spreadsheet.dll) Version: 2018.2.619.40 (2018.2.619.40)
public static ConstantExpression GetValueAsConstantExpression(
	this RadExpression expression


Type: Telerik.Windows.Documents.Spreadsheet.ExpressionsRadExpression
The expression.

Return Value

Type: ConstantExpression
The ConstantExpression result.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type RadExpression. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also