SetBinaryValue method (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short SetBinaryValue ( long lLength );

Overview

Refer to Working with Data Sets.

Remarks

Sets the specified number of binary values from the BinaryValues property or the BinaryValues2 property into the item specified by the CurrentElement property.

It is strongly recommended that you not use BinaryValues2 property and the BinaryValues property in the same section of code. However, if they are used in the same section of code, the order in which these properties are used is important. The last property set will control the values used when you call the SetBinaryValue method.

Before calling this method, set the BinaryValueCount property to the number of values you wish to set, and then fill the BinaryValues property with the desired values.

If lLength is less than 0 or greater than the BinaryValueCount property, an error is returned.

This method overwrites the values associated with the item specified by the CurrentElement property.

See Also

Elements:

SetCharValue method, SetShortValue method, SetLongValue method, SetFloatValue method, SetDoubleValue method, SetStringValue method, SetAgeValue method, SetDateValue method, SetTimeValue method, SetDateTimeValue method, BinaryValues property, BinaryValues2 property, BinaryValueCount property

Topics:

Data Sets: Getting and Setting Data Element Values