SqlCeResultSet.GetBytes メソッド
アセンブリ: System.Data.SqlServerCe (system.data.sqlserverce.dll 内)

Public Overrides Function GetBytes ( _ ordinal As Integer, _ dataIndex As Long, _ buffer As Byte(), _ bufferIndex As Integer, _ length As Integer _ ) As Long
Dim instance As SqlCeResultSet Dim ordinal 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(ordinal, dataIndex, buffer, bufferIndex, length)
public override long GetBytes ( int ordinal, long dataIndex, byte[] buffer, int bufferIndex, int length )
public: virtual long long GetBytes ( int ordinal, long long dataIndex, array<unsigned char>^ buffer, int bufferIndex, int length ) override
public override function GetBytes ( ordinal : int, dataIndex : long, buffer : byte[], bufferIndex : int, length : int ) : long
戻り値
実際にバッファにコピーされたバイト数。

この関数は、実際にコピーされたバイト数を返します。フィールドの末尾に達した場合は、この値が、要求したバイト数より少なくなることがあります。
null 参照 (Visual Basic では Nothing) バッファを渡すと、GetBytes は、バイト単位のフィールド長を返します。
SequentialAccess のコマンド動作でコマンドが実行される場合、GetBytes の呼び出しには、順次増加読み取りを指定する必要があります。それ以外の場合は、例外がスローされます。
GetBytes は、基になる型が binary または varbinary の列、またはバイト配列にキャストできるオブジェクトを使用して作成された列に対してのみ呼び出すことができます。


Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からSqlCeResultSet.GetBytes メソッドを検索する場合は、下記のリンクをクリックしてください。

- SqlCeResultSet.GetBytes メソッドのページへのリンク