[]
        
(Showing Draft Content)

GrapeCity.CalcEngine.IReferenceSource.GetReferenceExpression

GetReferenceExpression Method

GetReferenceExpression(FormulaEngine)

Gets the reference expression to evaluate this IReferenceSource.

Declaration
Expression GetReferenceExpression(FormulaEngine formulaEngine)
Function GetReferenceExpression(formulaEngine As FormulaEngine) As Expression
Parameters
Type Name Description
FormulaEngine formulaEngine

A GrapeCity.CalcEngine.FormulaEngine object indicates the formula engine.

Returns
Type Description
Expression

An GrapeCity.CalcEngine.Expression value represents the reference expression to evaluate this IReferenceSource.

GetReferenceExpression(FormulaEngine, IStructuredObject, StructuredItemSpecifiers, int, int)

Gets the reference expression to evaluate the specified IStructuredObject.

Declaration
Expression GetReferenceExpression(FormulaEngine formulaEngine, IStructuredObject structuredObject, StructuredItemSpecifiers itemSpecifiers = StructuredItemSpecifiers.Default, int columnId = -1, int columnId2 = -1)
Function GetReferenceExpression(formulaEngine As FormulaEngine, structuredObject As IStructuredObject, Optional itemSpecifiers As StructuredItemSpecifiers = StructuredItemSpecifiers.Default, Optional columnId As Integer = -1, Optional columnId2 As Integer = -1) As Expression
Parameters
Type Name Description
FormulaEngine formulaEngine

A GrapeCity.CalcEngine.FormulaEngine object indicates the formula engine.

IStructuredObject structuredObject

An IStructuredObject object indicates the structured object.

StructuredItemSpecifiers itemSpecifiers

A StructuredItemSpecifiers value indicates the item specifiers.

int columnId

An integer value indicates the first column.

int columnId2

An integer value indicates the second column.

Returns
Type Description
Expression

An GrapeCity.CalcEngine.Expression value represents the reference expression to evaluate this IReferenceSource.

GetReferenceExpression(FormulaEngine, IStructuredObject, Expression)

Gets the reference expression to evaluate the specified IStructuredObject.

Declaration
Expression GetReferenceExpression(FormulaEngine formulaEngine, IStructuredObject structuredObject, Expression expression)
Function GetReferenceExpression(formulaEngine As FormulaEngine, structuredObject As IStructuredObject, expression As Expression) As Expression
Parameters
Type Name Description
FormulaEngine formulaEngine

A GrapeCity.CalcEngine.FormulaEngine object indicates the formula engine.

IStructuredObject structuredObject

An IStructuredObject object indicates the structured object.

Expression expression

The expression refers to the IStructuredObject.

Returns
Type Description
Expression

An GrapeCity.CalcEngine.Expression value represents the reference expression to evaluate this IReferenceSource.