Parameters
- dataIndex
- The specified column offset.
- buffer
- The specified buffer to read data to.
- bufferIndex
- The specified buffer offset.
- length
- The number of characters to read.
Return Value
The actual number of characters read.
If the buffer parameter is null, GetChars returns the length of the field in characters.
If the CacheData property is false, applications can only retrieve the complete set of data from a DB2Clob instance once (by any of the ways): via the GetChars method, Value property, or the ToString method. Tying to retrieve the current instance data again by any of the means results in System.InvalidOperationException.