BinaryValueCount property

Delphi example

C++Builder example

 

Builder Syntax

Cardinal BinaryValueCount

Delphi Syntax

BinaryValueCount: Cardinal

Overview

Refer to Working with Data Sets.

Remarks

Contains the number of binary values (in bytes) in the BinaryValues 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 number of binary values (in bytes) 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 array property, prior to setting the binary values using SetBinaryValue.

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

See Also

Elements:

BinaryValues property, GetBinaryValue method, SetBinaryValue method