SqlCeUpdatableRecord.SetBytes メソッド
指定したバッファーから指定した列にバイトの長さをコピーします。コピーは、フィールド内の指定位置から開始されます。
名前空間: System.Data.SqlServerCe
アセンブリ: System.Data.SqlServerCe (System.Data.SqlServerCe.dll)
構文
'宣言
Public Sub SetBytes ( _
ordinal As Integer, _
dataIndex As Long, _
buffer As Byte(), _
bufferIndex As Integer, _
length As Integer _
)
'使用
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim dataIndex As Long
Dim buffer As Byte()
Dim bufferIndex As Integer
Dim length As Integer
instance.SetBytes(ordinal, dataIndex, _
buffer, bufferIndex, length)
public void SetBytes(
int ordinal,
long dataIndex,
byte[] buffer,
int bufferIndex,
int length
)
public:
void SetBytes(
int ordinal,
long long dataIndex,
array<unsigned char>^ buffer,
int bufferIndex,
int length
)
member SetBytes :
ordinal:int *
dataIndex:int64 *
buffer:byte[] *
bufferIndex:int *
length:int -> unit
public function SetBytes(
ordinal : int,
dataIndex : long,
buffer : byte[],
bufferIndex : int,
length : int
)
パラメーター
- ordinal
型: System.Int32
設定する列の序数位置。
- dataIndex
型: System.Int64
データ コピーを開始する列内の位置。
- buffer
型: array<System.Byte[]
コピーするデータを格納しているバッファー。
- bufferIndex
型: System.Int32
データのコピー元バッファー内のオフセット。
- length
型: System.Int32
コピーする最大バイト数。