DbDataReader.GetChars Method (Int32, Int64, Char, Int32, Int32)
Reads a stream of characters from the specified column, starting at location indicated by dataOffset, into the buffer, starting at the location indicated by bufferOffset.
Assembly: System.Data (in System.Data.dll)
public abstract long GetChars( int ordinal, long dataOffset, char buffer, int bufferOffset, int length )
The zero-based column ordinal.
The index within the row from which to begin the read operation.
The buffer into which to copy the data.
The index with the buffer to which the data will be copied.
The maximum number of characters to read.
Return ValueType: System.Int64
The actual number of characters read.
Available since 10
Available since 2.0