Spread Windows Forms 17
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / IArguments Interface / AllocSharedValue Method
The total number of IValue objects to allocate.


In This Topic
    AllocSharedValue Method
    In This Topic
    Allocates multiple IValue objects.
    Syntax
    'Declaration
     
    
    Function AllocSharedValue( _
       ByVal count As Integer _
    ) As Integer
    'Usage
     
    
    Dim instance As IArguments
    Dim count As Integer
    Dim value As Integer
     
    value = instance.AllocSharedValue(count)
    int AllocSharedValue( 
       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.
    Remarks
    The calculation engine doesn't release your shared value automatically. If AllocSharedValue is invoked, make sure that DeallocSharedValue is also invoked before exist from the function.
    See Also