EntityDataReader.GetBytes(Int32, Int64, Byte[], Int32, Int32) Método

Definição

Lê um fluxo de bytes da coluna especificada, começando no local indicado por dataOffset, no buffer, começando no local indicado por bufferOffset.

public:
 override long GetBytes(int ordinal, long dataOffset, cli::array <System::Byte> ^ buffer, int bufferOffset, int length);
public override long GetBytes(int ordinal, long dataOffset, byte[] buffer, int bufferOffset, int length);
override this.GetBytes : int * int64 * byte[] * int * int -> int64
Public Overrides Function GetBytes (ordinal As Integer, dataOffset As Long, buffer As Byte(), bufferOffset As Integer, length As Integer) As Long

Parâmetros

ordinal
Int32

O ordinal de coluna baseado em zero.

dataOffset
Int64

O índice dentro da linha da qual iniciar a operação de leitura.

buffer
Byte[]

O buffer no qual copiar os dados.

bufferOffset
Int32

O índice com o buffer para o qual os dados serão copiados.

length
Int32

O número máximo de caracteres a serem lidos.

Retornos

O número real de bytes lidos.

Implementações

Aplica-se a