[]
        
(Showing Draft Content)

GrapeCity.CalcEngine.IArguments.AllocSharedValue

AllocSharedValue Method

AllocSharedValue(int)

Allocates multiple IValue objects.

Declaration
int AllocSharedValue(int count)
Function AllocSharedValue(count As Integer) As Integer
Parameters
Type Name Description
int count

The total number of IValue objects to allocate.

Returns
Type Description
int

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(int) is invoked, make sure that DeallocSharedValue() is also invoked before exist from the function.