Binary :: fromInstance - Copy binary data from instance
The function copies data from an instance of a selected property to the binary data area and returns the size of data copied.
Implementation details
Binary  :: fromInstance ( odaba::Property &cProperty )
The function copies binary data from the instance area of the property handle passed in cProperty. When the binary data block is not empty, it is cleared before copying. Instance data is copied with the instance size defined for the property handle.
The function returns the size of data copied. When the property handle is not valid or no instance is selected in the property handle, the function throws an exception.
- cProperty
- Property reference
A property handle refers to a (usually) opened property. Invalid properties may cause an exception.

