DbDataRecord.GetBytes(Int32, Int64, Byte[], Int32, Int32) メソッド

定義

指定した列の値をバイト配列として返します。

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

パラメーター

i
Int32

0 から始まる列の序数。

dataIndex
Int64

読み取り操作を開始するフィールド内のインデックス。

buffer
Byte[]

バイトストリームを読み取るバッファー。

bufferIndex
Int32

読み取り操作を開始する buffer のインデックス。

length
Int32

読み取るバイト数。

返品

指定した列の値。

実装

注釈

変換は実行されません。したがって、取得されるデータは既にバイト配列である必要があります。

適用対象

こちらもご覧ください