iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

InMemoryDataReader.GetChars Method 

Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset.

[Visual Basic]
NotOverridable Public Function GetChars( _
   ByVal Int32 As Integer, _
   ByVal Int64 As Long, _
   ByVal Char[] As Char(), _
   ByVal Int32 As Integer, _
   ByVal Int32 As Integer _
) As Long _
    Implements IDataRecord.
[C#]
public long GetChars(
   Int32 fieldIndex,
   Int64 dataIndex,
   Char[] buffer,
   Int32 bufferIndex,
   Int32 length
);

Parameters

fieldIndex
The zero-based column ordinal.
dataIndex
The index within the row from which to begin the read operation.
buffer
The buffer into which to read the stream of bytes.
bufferIndex
The index for buffer to begin the read operation.
length
The number of bytes to read.

Return Value

The actual number of characters read.

Implements

IDataRecord.

See Also

InMemoryDataReader Class | IBatisNet.DataMapper.Commands Namespace