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
- reader
Tipo: System.Data.Common.DbDataReader
- dataOffset
Tipo: System.Int64
- buffer
Tipo: array<System.Byte[]
- bufferIndex
Tipo: System.Int32
- length
Tipo: System.Int32
Valor devuelto
Tipo: System.Int32
Devuelva Int32.
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
Microsoft.TeamFoundation.Framework.Server (Espacio de nombres)