DB2 Version 9.7 for Linux, UNIX, and Windows

DB2Clob.Read(char[] buff) method

Reads characters from the CLOB object that are represented by the DB2Clob 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.

Version information

Last update
This topic was last updated for: IBM® DB2® Version 9.7 Fix Pack 6.
.NET Framework version
Supported in: 2.0, 3.0, 3.5, and 4.0
IBM Data Server Client
Supported in: IBM DB2 Version 9.7 Fix Pack 6