Share via


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

要複製的字元數目。

傳回

已複製的字元數。

實作

適用於