Condividi tramite


Metodo AdoDotNetSchemaReader.GetBytes (Int32, array<Byte[], Int32, Int32)

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

Spazio dei nomi:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.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 iniziare 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
Una matrice del flusso di byte.

Implementa

IVsDataReader.GetBytes(Int32, array<Byte[], Int32, Int32)

Sicurezza di .NET Framework

Vedere anche

Riferimenti

AdoDotNetSchemaReader Classe

Overload GetBytes

Spazio dei nomi Microsoft.VisualStudio.Data.Framework.AdoDotNet