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

定義

指定した列から、 dataOffsetで示される位置からバッファーにバイト ストリームを読み取り、 bufferOffsetで示された位置から開始します。

public:
 override long GetBytes(int ordinal, long dataOffset, cli::array <System::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

読み取る最大文字数。

返品

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

実装

適用対象