SqlCeUpdatableRecord.GetChars 方法
從指定欄位的指定位置開始,將某一段 char 複製到緩衝區。
命名空間: System.Data.SqlServerCe
組件: System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)
語法
'宣告
Public Function GetChars ( _
ordinal As Integer, _
dataIndex As Long, _
buffer As Char(), _
bufferIndex As Integer, _
length As Integer _
) As Long
'用途
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim dataIndex As Long
Dim buffer As Char()
Dim bufferIndex As Integer
Dim length As Integer
Dim returnValue As Long
returnValue = instance.GetChars(ordinal, _
dataIndex, buffer, bufferIndex, length)
public long GetChars(
int ordinal,
long dataIndex,
char[] buffer,
int bufferIndex,
int length
)
public:
virtual long long GetChars(
int ordinal,
long long dataIndex,
array<wchar_t>^ buffer,
int bufferIndex,
int length
) sealed
abstract GetChars :
ordinal:int *
dataIndex:int64 *
buffer:char[] *
bufferIndex:int *
length:int -> int64
override GetChars :
ordinal:int *
dataIndex:int64 *
buffer:char[] *
bufferIndex:int *
length:int -> int64
public final function GetChars(
ordinal : int,
dataIndex : long,
buffer : char[],
bufferIndex : int,
length : int
) : long
參數
- ordinal
型別:System.Int32
要從中擷取資料之欄位的序數位置。
- dataIndex
型別:System.Int64
欄位中開始複製的位移 (以字元為單位)。
- buffer
型別:array<System.Char[]
要複製資料的目的緩衝區。
- bufferIndex
型別:System.Int32
緩衝區中開始複製的位移。
- length
型別:System.Int32
要複製的最大位元組數目。
傳回值
型別:System.Int64
實作
IDataRecord.GetChars(Int32, Int64, array<Char[], Int32, Int32)