Condividi tramite


Metodo AdoDotNetDataTableReader.GetBytes

Legge un flusso di byte nel buffer come matrice, a partire da un offset specificato

Spazio dei nomi:  Microsoft.VisualStudio.Data.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Sintassi

'Dichiarazione
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

Parametri

  • index
    Tipo: Int32

    Indice nel campo dati da cui avviare l'operazione di lettura.

  • buffer
    Tipo: array<Byte[]

    La matrice di byte da leggere.

  • bufferIndex
    Tipo: Int32

    Indice nel buffer da cui iniziare a inserire i dati.

  • length
    Tipo: Int32

    Lunghezza del flusso di byte.

Valore restituito

Tipo: Int32
Restituisce un valore intero che specifica l'offset da cui iniziare la lettura del flusso di byte.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

AdoDotNetDataTableReader Classe

Spazio dei nomi Microsoft.VisualStudio.Data.AdoDotNet

GetBytes