Share via


CurrentValueRecord.GetBytes(Int32, Int64, Byte[], Int32, Int32) 方法

定義

將欄位值擷取成位元組陣列。

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

參數

ordinal
Int32

欄位的序數。

dataIndex
Int64

要開始複製資料的索引。

buffer
Byte[]

要將資料複製到其中的目的端緩衝區。

bufferIndex
Int32

目的端緩衝區中開始複製的索引。

length
Int32

要複製的位元組數目。

傳回

已複製的位元組數目。

實作

適用於