次の方法で共有


IDataRecord.GetInt64 メソッド

指定したフィールドの 64 ビット符号付き整数値を取得します。

Function GetInt64( _
   ByVal i As Integer _) As Long
[C#]
long GetInt64(
   inti);
[C++]
__int64 GetInt64(
   inti);
[JScript]
function GetInt64(
   i : int) : long;

パラメータ

  • i
    検索するフィールドのインデックス。

戻り値

指定したフィールドの 64 ビット符号付き整数値。

例外

例外の種類 条件
IndexOutOfRangeException 渡されたインデックスが 0 から FieldCount の範囲にありません。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

参照

IDataRecord インターフェイス | IDataRecord メンバ | System.Data 名前空間