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

Public Overrides Function GetChars ( _ ordinal As Integer, _ dataIndex As Long, _ buffer As Char(), _ bufferIndex As Integer, _ length As Integer _ ) As Long
Dim instance As SqlCeResultSet 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 override 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 ) override
public override function GetChars ( ordinal : int, dataIndex : long, buffer : char[], bufferIndex : int, length : int ) : long
戻り値
実際にコピーされた文字数。

この関数では、実際にコピーされた文字数を返します。フィールドの末尾に達した場合は、この値が、要求した文字数より少なくなることがあります。
null 参照 (Visual Basic では Nothing) バッファを渡すと、GetChars は、文字数によるフィールド長を返します。
SequentialAccess のコマンド動作でコマンドが実行される場合、GetChars の呼び出しには、順次増加読み取りを指定する必要があります。それ以外の場合は、例外がスローされます。


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


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

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