ArrayList.GetArray Method

Retrieves an array of cells from an array.

int GetArray(int index, any[] buffer, int size, int block)

Parameters

int index

Index in the array.

any[] buffer

Buffer to store the array in.

int size

If not set, assumes the buffer size is equal to the blocksize. Otherwise, the size passed is used.

int block

Optionally specify which block to read from (useful if the blocksize > 0).

Return Value

Number of cells copied.

Errors

Invalid index.