Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 1 (10.1)

Part Number B10119-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

CopyFromBfile Method

Applies To

OBlob

OClob

Description

Copies a portion or all of the LOB value of an OBfile to the LOB value of this object.

Usage

void CopyFromBfile(const OBfile& src_bfile, unsigned long amount, unsigned long dst_offset =1, unsigned long src_offset = 1) const throw(OException)

Arguments
Description
src_bfile
An OBfile object from which the data is to be copied.
amount
An integer specifying maximum number of characters or bytes to be copied.
dst_offset
An integer specifying the absolute offset for this instance. Default is 1.
src_offset
An integer specifying the absolute offset for the BFILE value of the source OBFile object. Default is 1.

Remarks

Either a row-level lock or object-level lock should be obtained before calling this method.