Spread Windows Forms 15.0
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / IEvaluationContext Interface / AllocValue Method / AllocValue(Int32) Method
The total number of IValue objects to allocate.


In This Topic
    AllocValue(Int32) Method
    In This Topic
    Allocates multiple IValue objects.
    Syntax
    'Declaration
     
    
    Overloads Function AllocValue( _
       ByVal count As Integer _
    ) As Integer
    'Usage
     
    
    Dim instance As IEvaluationContext
    Dim count As Integer
    Dim value As Integer
     
    value = instance.AllocValue(count)
    int AllocValue( 
       int count
    )

    Parameters

    count
    The total number of IValue objects to allocate.

    Return Value

    An zero-based interger indicates the index of first allocated IValue object.
    See Also