次の方法で共有


OleDbDataReader.GetValue メソッド

指定した序数の列の値をネイティブ形式で取得します。

Public Overridable Function GetValue( _
   ByVal ordinal As Integer _) As Object Implements IDataRecord.GetValue
[C#]
public virtual object GetValue(intordinal);
[C++]
public: virtual Object* GetValue(intordinal);
[JScript]
public function GetValue(
   ordinal : int) : Object;

パラメータ

  • ordinal
    列の 0 から始まる序数。

戻り値

取得した値。

実装

IDataRecord.GetValue

解説

null データベース列の場合は、 DBNull が返されます。

必要条件

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

参照

OleDbDataReader クラス | OleDbDataReader メンバ | System.Data.OleDb 名前空間