dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleLob Class / Erase Method / Erase(Int64,Int64) Method
The offset from which to erase.
The quantity of data, in bytes, to erase.

Erase(Int64,Int64) Method
Erases the specified amount of data from the OracleLob.
Syntax
'Declaration
 
Public Overloads Function Erase( _
   ByVal offset As Long, _
   ByVal amount As Long _
) As Long
 

Parameters

offset
The offset from which to erase.
amount
The quantity of data, in bytes, to erase.

Return Value

The number of bytes erased.
Remarks
Replaces the specified amount of data with 0x00 for OracleDbType.Blob, and with spaces for OracleDbType.Clob and OracleDbType.NClob data types.
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