menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ExpressionObject - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ExpressionObject

    A wrapper class for an expression object added to an ExpressionHelper class.

    Inheritance
    System.Object
    ExpressionObject
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Olap.Engine.CalculationColumn
    Assembly: Syncfusion.Olap.Base.dll
    Syntax
    public class ExpressionObject

    Constructors

    ExpressionObject(String, String, ExpressionHelper)

    Initializes a new instance of the ExpressionObject class.

    Declaration
    public ExpressionObject(string name, string expression, ExpressionHelper helper)
    Parameters
    Type Name Description
    System.String name

    The mapping name for the expression.

    System.String expression

    The expression.

    ExpressionHelper helper

    The expression helper.

    Properties

    Error

    Gets the expression error associated with the recent computation.

    Declaration
    public ExpressionError Error { get; }
    Property Value
    Type
    ExpressionError

    ErrorString

    Gets the description of the most recent computation.

    Declaration
    public string ErrorString { get; }
    Property Value
    Type
    System.String

    Expression

    Gets or sets the expression of this expression object.

    Declaration
    public string Expression { get; set; }
    Property Value
    Type
    System.String

    Name

    Gets or sets the mapping name of this expression object.

    Declaration
    public string Name { get; set; }
    Property Value
    Type
    System.String

    Methods

    ComputedValue(Object)

    Returns the computed value of this expression.

    Declaration
    public object ComputedValue(object record)
    Parameters
    Type Name Description
    System.Object record

    The object on which the expression is being computed.

    Returns
    Type Description
    System.Object

    The computed value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved