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

Definição

Lê um fluxo de bytes no buffer como uma matriz, começando em um deslocamento especificado

public:
 override int GetBytes(int index, cli::array <System::Byte> ^ buffer, int bufferIndex, int length);
public override int GetBytes (int index, byte[] buffer, int bufferIndex, int length);
override this.GetBytes : int * byte[] * int * int -> int
Public Overrides Function GetBytes (index As Integer, buffer As Byte(), bufferIndex As Integer, length As Integer) As Integer

Parâmetros

index
Int32

Indexe no campo de dados a partir do qual iniciar a operação de leitura.

buffer
Byte[]

A matriz de bytes a ser lida.

bufferIndex
Int32

Indexe no buffer no qual começar a colocar os dados.

length
Int32

Comprimento do fluxo de bytes.

Retornos

Int32

Retorna um valor inteiro especificando o deslocamento no qual começar a ler no fluxo de bytes.

Aplica-se a