Share via


SqlColumnBinder.GetBytes, méthode (DbDataReader, Int64, array<Byte[], Int32, Int32)

Lire un segment des octets d'une colonne. En cas de utilisation avec ExecuteReader (CommandBehavior.SequentialAccess), vous pouvez efficacement transmettre en continu des octets d'une colonne de BLOB.

Espace de noms :  Microsoft.TeamFoundation.Framework.Server
Assembly :  Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)

Syntaxe

'Déclaration
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
)

Paramètres

Valeur de retour

Type : System.Int32
retourne Int32 ;

Sécurité .NET Framework

Voir aussi

Référence

SqlColumnBinder Classe

GetBytes, surcharge

Microsoft.TeamFoundation.Framework.Server, espace de noms