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