語言

OracleDataReader.Item[] 屬性

定義

取得欄位的原始格式值。

多載

名稱 Description
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

數據行名稱。

屬性值

指定欄位的本體格式值。

實作

例外狀況

未找到指定名稱的柱子。

適用於