Udostępnij za pośrednictwem


DbUpdatableDataRecord.GetBytes(Int32, Int64, Byte[], Int32, Int32) Metoda

Definicja

Pobiera wartość pola jako tablicę byte .

public:
 override long GetBytes(int ordinal, long dataIndex, cli::array <System::Byte> ^ buffer, int bufferIndex, int length);
public override long GetBytes(int ordinal, long dataIndex, byte[] buffer, int bufferIndex, int length);
override this.GetBytes : int * int64 * byte[] * int * int -> int64
Public Overrides Function GetBytes (ordinal As Integer, dataIndex As Long, buffer As Byte(), bufferIndex As Integer, length As Integer) As Long

Parametry

ordinal
Int32

Porządkowa pola.

dataIndex
Int64

Indeks, w którym należy rozpocząć kopiowanie danych.

buffer
Byte[]

Bufor docelowy, w którym są kopiowane dane.

bufferIndex
Int32

Indeks w buforze docelowym, w którym rozpocznie się kopiowanie.

length
Int32

Liczba bajtów do skopiowania.

Zwraca

Liczba skopiowanych bajtów.

Implementuje

Dotyczy