dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleBFile Class / CopyTo Method / CopyTo(Int64,OracleLob,Int64,Int64) Method
The offset from which to copy.
The OracleLob object to which the data is copied.
The offset to which to copy.
The quantity of data, in bytes, to copy.

CopyTo(Int64,OracleLob,Int64,Int64) Method
Copies data from the OracleBFile to an OracleLob with the specified amount of data, source offset and destination offset.
Syntax
'Declaration
 
Public Overloads Shadows Function CopyTo( _
   ByVal srcOffset As Long, _
   ByVal dest As OracleLob, _
   ByVal destOffset As Long, _
   ByVal amount As Long _
) As Long
 

Parameters

srcOffset
The offset from which to copy.
dest
The OracleLob object to which the data is copied.
destOffset
The offset to which to copy.
amount
The quantity of data, in bytes, to copy.

Return Value

The number of bytes copied.
Remarks
An OracleLob object to which the data is copied must have OracleDbType.Blob type.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also