DbUpdatableDataRecord.GetChars(Int32, Int64, Char[], Int32, Int32) 方法

定義

以陣列形式取得欄位值 char

public:
 override long GetChars(int ordinal, long dataIndex, cli::array <char> ^ buffer, int bufferIndex, int length);
public override long GetChars(int ordinal, long dataIndex, char[] buffer, int bufferIndex, int length);
override this.GetChars : int * int64 * char[] * int * int -> int64
Public Overrides Function GetChars (ordinal As Integer, dataIndex As Long, buffer As Char(), bufferIndex As Integer, length As Integer) As Long

參數

ordinal
Int32

場的序數。

dataIndex
Int64

從哪裡開始複製資料的索引。

buffer
Char[]

目的緩衝區,資料被複製的地方。

bufferIndex
Int32

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

length
Int32

要複製的字元數量。

傳回

已複製的字元數。

實作

適用於