AdoDotNetSchemaReader.GetBytes (Método) (Int32, array<Byte , Int32, Int32)

Lee una secuencia de bytes en el búfer como matriz, comenzando en un desplazamiento especificado.

Espacio de nombres:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Ensamblado:  Microsoft.VisualStudio.Data.Framework (en Microsoft.VisualStudio.Data.Framework.dll)

Sintaxis

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

Parámetros

  • index
    Tipo: System.Int32
    Índice en el campo de datos de que se va a comenzar la operación de lectura.
  • buffer
    Tipo: array<System.Byte[]
    La matriz de bytes que se leerá.
  • bufferIndex
    Tipo: System.Int32
    Índice en el búfer donde para iniciar colocar los datos.
  • length
    Tipo: System.Int32
    Longitud de la secuencia de bytes.

Valor devuelto

Tipo: System.Int32
Una matriz de la secuencia de bytes.

Implementaciones

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

Seguridad de .NET Framework

Vea también

Referencia

AdoDotNetSchemaReader Clase

GetBytes (Sobrecarga)

Microsoft.VisualStudio.Data.Framework.AdoDotNet (Espacio de nombres)