次の方法で共有


OleDbDataReader.GetName メソッド

指定した列の名前を取得します。

Public Overridable Function GetName( _
   ByVal index As Integer _) As String Implements IDataRecord.GetName
[C#]
public virtual string GetName(intindex);
[C++]
public: virtual String* GetName(intindex);
[JScript]
public function GetName(
   index : int) : String;

パラメータ

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

戻り値

指定した列の名前。

実装

IDataRecord.GetName

必要条件

プラットフォーム: 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 名前空間 | GetOrdinal