Condividi tramite


AmoDataReader.GetBytes(Int32, Int64, Byte[], Int32, Int32) Metodo

Definizione

Legge un flusso di byte dall'offset di colonna specificato nel buffer sotto forma di matrice, a partire dall'offset di buffer specificato.

public long GetBytes (int ordinal, long dataIndex, byte[] buffer, int bufferIndex, int length);
abstract member GetBytes : int * int64 * byte[] * int * int -> int64
override this.GetBytes : int * int64 * byte[] * int * int -> int64
Public Function GetBytes (ordinal As Integer, dataIndex As Long, buffer As Byte(), bufferIndex As Integer, length As Integer) As Long

Parametri

ordinal
Int32

Ordinale di colonna in base zero.

dataIndex
Int64

Indice nel campo da cui iniziare l'operazione di lettura.

buffer
Byte[]

Buffer in cui leggere il flusso di byte.

bufferIndex
Int32

Indice nel buffer in cui avviare l'operazione di scrittura.

length
Int32

Lunghezza massima per la copia nel buffer.

Restituisce

Numero effettivo di byte letti.

Implementazioni

Si applica a