SetData

SetData(array as Variant)

array
The array containing the source data.

Copies the supplied array into the buffer. Byte, Integer, and Long arrays are supported.