Spread Windows Forms 15.0
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / IValue Interface / GetReferenceSource Method / GetReferenceSource(IEvaluationContext,Int32) Method
An IEvaluationContext value indicates the evaluation context.
An integer value indicates the position of the reference source.


In This Topic
    GetReferenceSource(IEvaluationContext,Int32) Method
    In This Topic
    Gets the reference source at the specified position.
    Syntax
    'Declaration
     
    
    Overloads Function GetReferenceSource( _
       ByVal context As IEvaluationContext, _
       ByVal sourceIndex As Integer _
    ) As IReferenceSource
    'Usage
     
    
    Dim instance As IValue
    Dim context As IEvaluationContext
    Dim sourceIndex As Integer
    Dim value As IReferenceSource
     
    value = instance.GetReferenceSource(context, sourceIndex)

    Parameters

    context
    An IEvaluationContext value indicates the evaluation context.
    sourceIndex
    An integer value indicates the position of the reference source.

    Return Value

    An IReferenceSource objects indicates the reference source.
    See Also