DbUpdatableDataRecord.GetBytes(Int32, Int64, Byte[], Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
以陣列形式取得欄位值 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
參數
- ordinal
- Int32
場的序數。
- dataIndex
- Int64
從哪裡開始複製資料的索引。
- buffer
- Byte[]
目的緩衝區,資料被複製的地方。
- bufferIndex
- Int32
目的緩衝區中的索引,將開始複製。
- length
- Int32
要複製的位元組數。
傳回
複製的位元組數。