Compartir a través de


SqlColumnBinder.GetBytes (Método) (DbDataReader, Int64, array<Byte[], Int32, Int32)

Lee un fragmento de bytes de una columna. Cuando se utiliza con ExecuteReader (CommandBehavior.SequentialAccess), puede transmitir eficazmente bytes de una columna del BLOB.

Espacio de nombres:  Microsoft.TeamFoundation.Framework.Server
Ensamblado:  Microsoft.TeamFoundation.Framework.Server (en Microsoft.TeamFoundation.Framework.Server.dll)

Sintaxis

'Declaración
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
)

Parámetros

Valor devuelto

Tipo: System.Int32
Devuelva Int32.

Seguridad de .NET Framework

Vea también

Referencia

SqlColumnBinder Clase

GetBytes (Sobrecarga)

Microsoft.TeamFoundation.Framework.Server (Espacio de nombres)