Share via


Metodo SqlColumnBinder.GetBytes (DbDataReader, Int64, array<Byte , Int32, Int32)

Leggere un blocco di byte in una colonna.Se utilizzato con ExecuteReader (CommandBehavior.SequentialAccess), è possibile trasmettere efficientemente i byte di una colonna dei BLOB.

Spazio dei nomi:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Sintassi

'Dichiarazione
Public Function GetBytes ( _
    reader As DbDataReader, _
    dataOffset As Long, _
    buffer As Byte(), _
    bufferIndex As Integer, _
    length As Integer _
) As Integer
public int GetBytes(
    DbDataReader reader,
    long dataOffset,
    byte[] buffer,
    int bufferIndex,
    int length
)

Parametri

Valore restituito

Tipo: System.Int32
Restituisca il valore Int32.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

SqlColumnBinder Classe

Overload GetBytes

Spazio dei nomi Microsoft.TeamFoundation.Framework.Server