[]
        
(Showing Draft Content)

GrapeCity.CalcEngine.IValue.SetReference

SetReference Method

SetReference(IEvaluationContext, CellReference, IReferenceSource)

Sets the value of this IValue to the specified cell reference.

Declaration
void SetReference(IEvaluationContext context, CellReference cellRef, IReferenceSource refSource)
Sub SetReference(context As IEvaluationContext, cellRef As CellReference, refSource As IReferenceSource)
Parameters
Type Name Description
IEvaluationContext context

An IEvaluationContext value indicates the evaluation context.

CellReference cellRef

A CellReference value indicates the cell reference.

IReferenceSource refSource

An IReferenceSource value indicates the reference source.

SetReference(IEvaluationContext, RangeReference, IReferenceSource)

Sets the value of this IValue to the specified reference.

Declaration
void SetReference(IEvaluationContext context, RangeReference rangeRef, IReferenceSource refSource)
Sub SetReference(context As IEvaluationContext, rangeRef As RangeReference, refSource As IReferenceSource)
Parameters
Type Name Description
IEvaluationContext context

An IEvaluationContext value indicates the evaluation context.

RangeReference rangeRef

A RangeReference value indicates the range reference.

IReferenceSource refSource

An IReferenceSource value indicates the reference source.

SetReference(IEvaluationContext, RangeReference[], IReferenceSource)

Sets the value of this IValue to the specified reference array.

Declaration
void SetReference(IEvaluationContext context, RangeReference[] rangeRefs, IReferenceSource refSource)
Sub SetReference(context As IEvaluationContext, rangeRefs As RangeReference(), refSource As IReferenceSource)
Parameters
Type Name Description
IEvaluationContext context

An IEvaluationContext value indicates the evaluation context.

RangeReference[] rangeRefs

An array of RangeReference represents the range references.

IReferenceSource refSource

An IReferenceSource value indicates the reference source.

SetReference(IEvaluationContext, RangeReference, IReferenceSource, IReferenceSource)

Sets the value of this IValue to the specified 3D-reference.

Declaration
void SetReference(IEvaluationContext context, RangeReference rangeRef, IReferenceSource startRefSource, IReferenceSource endRefSource)
Sub SetReference(context As IEvaluationContext, rangeRef As RangeReference, startRefSource As IReferenceSource, endRefSource As IReferenceSource)
Parameters
Type Name Description
IEvaluationContext context

An IEvaluationContext value indicates the evaluation context.

RangeReference rangeRef

An array of RangeReference represents the range references.

IReferenceSource startRefSource

An IReferenceSource value indicates the start reference source.

IReferenceSource endRefSource

An IReferenceSource value indicates the end reference source.