Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-01 |
|
Applies To
Description
Copies a portion of the LOB value of an input OBlob/OClob object to the LOB value of this instance.
Usage
void CopyFromBlob(const OBlob& src_lob, unsigned long amount, unsigned long dst_offset =1, unsigned long src_offset = 1) const throw(OException)
void CopyFromClob(const OClob& src_lob, unsigned long amount, unsigned long dst_offset =1, unsigned long src_offset = 1) const throw(OException)
Arguments
Arguments |
Description |
---|---|
src_lob |
OBlob or OClob object whose value is to be copied. |
amount |
An integer specifying number of bytes or characters to copy. |
dst_offset |
An integer specifying the 1-based offset in bytes (OBlob) or characters (OClob) in the value of this object. Default value is 1. |
src_offset |
An integer specifying the 1-based offset in bytes (OBlob or OBfile) or characters (OClob) in the value of the src_lob object. Default value is 1. |
Remarks
Either a row-level lock or an object-level lock should be obtained before calling this method.