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
    public long CopyTo( 
       OracleLob dest,
       long destOffset
    )

    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.

    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