指定した列の値を SqlInt64 として取得します。
Public Function GetSqlInt64( _
ByVal i As Integer _) As SqlInt64
[C#]
public SqlInt64 GetSqlInt64(inti);
[C++]
public: SqlInt64 GetSqlInt64(inti);
[JScript]
public function GetSqlInt64(
i : int) : SqlInt64;
パラメータ
- i
列の 0 から始まる序数。
戻り値
SqlInt64 。
解説
変換は実行されません。そのため、取得するデータは 64 ビット符号付き整数である必要があります。16 ビット符号付き整数でない場合は、例外が生成されます。
必要条件
プラットフォーム: 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
参照
SqlDataReader クラス | SqlDataReader メンバ | System.Data.SqlClient 名前空間