Npgsql API Documentation

NpgsqlDataReader.GetBytes Method 

[This is preliminary documentation and subject to change.]

Gets raw data from a column.

[Visual Basic]
NotOverridable Public Function GetBytes( _
   ByVal i As Integer, _
   ByVal fieldOffset As Long, _
   ByVal buffer As Byte(), _
   ByVal bufferoffset As Integer, _
   ByVal length As Integer _
) As Long Implements _
   IDataRecord.GetBytes
[C#]
public long GetBytes(
   int i,
   long fieldOffset,
   byte[] buffer,
   int bufferoffset,
   int length
);

Implements

IDataRecord.GetBytes

See Also

NpgsqlDataReader Class | Npgsql Namespace