MySqlDataReader.GetBytes Method


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

Syntax: Visual Basic

NotOverridable Public Function GetBytes( _
 ByVal i As Integer, _
 ByVal dataIndex As Long, _
 ByVal buffer As Byte(), _
 ByVal bufferIndex As Integer, _
 ByVal length As Integer _
) As Long _
_
 Implements IDataRecord.GetBytes

Syntax: C#

public long GetBytes(
inti,
longdataIndex,
byte[]buffer,
intbufferIndex,
intlength
);

Parameters

Return Value

The actual number of bytes read.

Implements

IDataRecord.GetBytes

See Also

MySqlDataReader Class, MySql.Data.MySqlClient Namespace

Retornar