次の方法で共有


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

定義

指定した列からバイトのストリームを読み取ります。 サポートされていません。

public override long GetBytes (int ordinal, long dataOffset, byte[] buffer, int bufferOffset, int length);
public override long GetBytes (int ordinal, long dataOffset, byte[]? buffer, int bufferOffset, int length);
override this.GetBytes : int * int64 * byte[] * int * int -> int64
Public Overrides Function GetBytes (ordinal As Integer, dataOffset As Long, buffer As Byte(), bufferOffset As Integer, length As Integer) As Long

パラメーター

ordinal
Int32

0 から始まる列序数。

dataOffset
Int64

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

buffer
Byte[]

データのコピー先のバッファー。

bufferOffset
Int32

データのコピー先のインデックス。

length
Int32

読み取る最大バイト数。

戻り値

実際に読み取られたバイト数。

適用対象