DbDataReader::GetBytes Method (Int32, Int64, array<Byte>^, Int32, Int32)
Reads a stream of bytes 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: virtual long long GetBytes( int ordinal, long long dataOffset, array<unsigned char>^ buffer, int bufferOffset, int length ) abstract
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 bytes read.
Available since 10
Available since 2.0