SetBinaryValue method (ILEADDicomDS)
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