Spread Windows Forms 15.0
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / IValue Interface / SetReference Method / SetReference(IEvaluationContext,RangeReference,IReferenceSource,IReferenceSource) Method
An IEvaluationContext value indicates the evaluation context.
An array of RangeReference represents the range references.
An IReferenceSource value indicates the start reference source.
An IReferenceSource value indicates the end reference source.


In This Topic
    SetReference(IEvaluationContext,RangeReference,IReferenceSource,IReferenceSource) Method
    In This Topic
    Sets the value of this IValue to the specified 3D-reference.
    Syntax
    'Declaration
     
    
    Overloads Sub SetReference( _
       ByVal context As IEvaluationContext, _
       ByVal rangeRef As RangeReference, _
       ByVal startRefSource As IReferenceSource, _
       ByVal endRefSource As IReferenceSource _
    ) 
    'Usage
     
    
    Dim instance As IValue
    Dim context As IEvaluationContext
    Dim rangeRef As RangeReference
    Dim startRefSource As IReferenceSource
    Dim endRefSource As IReferenceSource
     
    instance.SetReference(context, rangeRef, startRefSource, endRefSource)

    Parameters

    context
    An IEvaluationContext value indicates the evaluation context.
    rangeRef
    An array of RangeReference represents the range references.
    startRefSource
    An IReferenceSource value indicates the start reference source.
    endRefSource
    An IReferenceSource value indicates the end reference source.
    See Also