DbDataRecord.GetBytes メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DbDataRecord.GetBytes メソッドの意味・解説 

DbDataRecord.GetBytes メソッド

指定した列の値をバイト配列として返します

名前空間: System.Data.Common
アセンブリ: System.Data (system.data.dll 内)
構文構文

Public Function GetBytes ( _
    i As Integer, _
    dataIndex As Long, _
    buffer As Byte(), _
    bufferIndex As Integer, _
    length As Integer _
) As Long
Dim instance As DbDataRecord
Dim i As Integer
Dim dataIndex As Long
Dim buffer As Byte()
Dim bufferIndex As Integer
Dim length As Integer
Dim returnValue As Long

returnValue = instance.GetBytes(i, dataIndex, buffer, bufferIndex, length)
public long GetBytes (
    int i,
    long dataIndex,
    byte[] buffer,
    int bufferIndex,
    int length
)
public:
virtual long long GetBytes (
    int i, 
    long long dataIndex, 
    array<unsigned char>^ buffer, 
    int bufferIndex, 
    int length
) sealed
public final long GetBytes (
    int i, 
    long dataIndex, 
    byte[] buffer, 
    int bufferIndex, 
    int length
)
public final function GetBytes (
    i : int, 
    dataIndex : long, 
    buffer : byte[], 
    bufferIndex : int, 
    length : int
) : long

パラメータ

i

列の序数

dataIndex

データコピーバッファ

buffer

バッファコピーするデータ最大長。

bufferIndex

バッファ内での開始点。

length

ソース データ内での開始点。

戻り値
指定した列の値。

解説解説

変換実行されません。したがって取得されデータは既にバイト配列である必要があります

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DbDataRecord クラス
DbDataRecord メンバ
System.Data.Common 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からDbDataRecord.GetBytes メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からDbDataRecord.GetBytes メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からDbDataRecord.GetBytes メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

DbDataRecord.GetBytes メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



DbDataRecord.GetBytes メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS