DB2Clob.Read(char[] buff) method

Reads characters from the CLOB object that are represented by the DB2®Clob instance.

Namespace:
IBM.Data.DB2Types
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax


[Visual Basic]
Public Function Read( _
   ByVal buff() As char()
) As Int64
[C#]
public Int64 Read(
   char[] buff
);
[C++]
public: __int64 Read(
   char[] buff
);
[JScript]
public function Read(
   buff : char[]
) : Int64;

Parameters

buff
The buffer into which to copy data.

Return value

The actual number of characters that are read.

Remarks

The CLOB object is read into the buff character array starting at element 0.

No data is written past the end of the buff character array, and CLOB data is truncated if the specified buff character array is smaller than the CLOB data.