言語

OracleDataReader.Item[] プロパティ

定義

ネイティブ形式の列の値を取得します。

オーバーロード

名前 説明
Item[Int32]

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

Item[String]

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

Item[Int32]

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

public:
 property System::Object ^ default[int] { System::Object ^ get(int i); };
public:
 virtual property System::Object ^ default[int] { System::Object ^ get(int i); };
public object this[int i] { get; }
public override object this[int i] { get; }
member this.Item(int) : obj
Default Public ReadOnly Property Item(i As Integer) As Object
Default Public Overrides ReadOnly Property Item(i As Integer) As Object

パラメーター

i
Int32

列の序数。

プロパティ値

指定した列のネイティブ形式の値。

実装

例外

渡されたインデックスが 0 から FieldCount の範囲外でした。

適用対象

Item[String]

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

public:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ name); };
public:
 virtual property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ name); };
public object this[string name] { get; }
public override object this[string name] { get; }
member this.Item(string) : obj
Default Public ReadOnly Property Item(name As String) As Object
Default Public Overrides ReadOnly Property Item(name As String) As Object

パラメーター

name
String

列名。

プロパティ値

指定した列のネイティブ形式の値。

実装

例外

指定した名前の列が見つかりませんでした。

適用対象