DbUpdatableDataRecord.GetBytes(Int32, Int64, Byte[], Int32, Int32) Méthode

Définition

Récupère la valeur de champ sous la forme d'un tableau d'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

Paramètres

ordinal
Int32

Ordinal du champ.

dataIndex
Int64

Index où commencer la copie des données.

buffer
Byte[]

Mémoire tampon de destination où les données sont copiées.

bufferIndex
Int32

Index où la copie va commencer dans la mémoire tampon de destination.

length
Int32

Nombre d'octets à copier.

Retours

Nombre d'octets copiés.

Implémente

S’applique à