dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleLob Class / CopyTo Method / CopyTo(OracleLob,Int64) Method
The destination OracleLob.
The offset to which to copy.

In This Topic
CopyTo(OracleLob,Int64) Method
In This Topic
Copies data from this OracleLob to a destination OracleLob with the specified destination offset.
Syntax
'Declaration
 
Public Overloads Function CopyTo( _
   ByVal dest As OracleLob, _
   ByVal destOffset As Long _
) As Long
 

Parameters

dest
The destination OracleLob.
destOffset
The offset to which to copy.

Return Value

The number of bytes copied.
Remarks
The current and destination OracleLob objects must have the same data types.

If the destination offset is beyond the end of the LOB data, zeros are written into the OracleDbType.Blob and spaces into the OracleDbType.Clob and OracleDbType.NClob data types until the destination offset is met.

See Also