指定した列の値を SqlInt32 として取得します。
Public Function GetSqlInt32( _
ByVal i As Integer _) As SqlInt32
[C#]
public SqlInt32 GetSqlInt32(inti);
[C++]
public: SqlInt32 GetSqlInt32(inti);
[JScript]
public function GetSqlInt32(
i : int) : SqlInt32;
パラメータ
- i
列の 0 から始まる序数。
戻り値
SqlInt32 。
解説
変換は実行されません。そのため、取得するデータは 32 ビット符号付き整数である必要があります。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 名前空間