BinaryValues property

Delphi example

C++Builder example

 

Builder Syntax

Byte BinaryValues[Cardinal uIndex]

Delphi Syntax

BinaryValues[uIndex: Cardinal]: Byte

Overview

Refer to Working with Data Sets.

Remarks

Contains an array of binary values retrieved from or set to the Data Element specified by the CurrentElement property. The size of this array is determined by the BinaryValueCount property.

If you are retrieving binary values associated with the element specified in the CurrentElement property, calling the GetBinaryValue method updates this property with the binary values associated with the specified element.

If you are setting binary values associated with the element specified in the CurrentElement property, you can set the BinaryValueCount property to allocate storage for the BinaryValues property, prior to setting the binary values using SetBinaryValue.

Set the BinaryValueCount property to 0 at any time to free the memory used for the BinaryValues property.

See Also

Elements:

BinaryValueCount property, GetBinaryValue method, SetBinaryValue method