Método AdoDotNetDataTableReader.GetBytes
Ler um fluxo de bytes em buffer como uma matriz, começando em um deslocamento especificado
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (em Microsoft.VisualStudio.Data.dll)
Sintaxe
'Declaração
Public Overrides Function GetBytes ( _
index As Integer, _
buffer As Byte(), _
bufferIndex As Integer, _
length As Integer _
) As Integer
public override int GetBytes(
int index,
byte[] buffer,
int bufferIndex,
int length
)
public:
virtual int GetBytes(
int index,
array<unsigned char>^ buffer,
int bufferIndex,
int length
) override
abstract GetBytes :
index:int *
buffer:byte[] *
bufferIndex:int *
length:int -> int
override GetBytes :
index:int *
buffer:byte[] *
bufferIndex:int *
length:int -> int
public override function GetBytes(
index : int,
buffer : byte[],
bufferIndex : int,
length : int
) : int
Parâmetros
index
Tipo: Int32Índice no campo de dados que para iniciar a operação de leitura.
buffer
Tipo: array<Byte[]A matriz de bytes a ser lido.
bufferIndex
Tipo: Int32Índice em buffer para iniciar colocar os dados.
length
Tipo: Int32Comprimento do fluxo de bytes.
Valor de retorno
Tipo: Int32
Retorna um valor inteiro que especifica o deslocamento para iniciar a ler no fluxo de bytes.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.
Consulte também
Referência
AdoDotNetDataTableReader Classe