CopyTo(OracleBlob)
This instance method copies data from the current instance to the provided OracleBlob object.
Declaration
// C#
public Int64 CopyTo(OracleBlob obj);Parameters
-
objThe
OracleBlobobject to which the data is copied.
Return Value
The return value is the amount copied.
Exceptions
ObjectDisposedException - The object is already disposed.
InvalidOperationException - This exception is thrown if any of the following conditions exist:
-
The
OracleConnectionis not open or has been closed during the lifetime of the object. -
The LOB object parameter has a different connection than the object.
Remarks
The provided object and the current instance must be using the same connection; that is, the same OracleConnection object.