DbDataRecord.Item[] 屬性

定義

指示來自資料行使用原生格式的值。 這個屬性是唯讀的。

多載

Item[Int32]

指定資料行序數,以其原生格式傳回指定資料行的值。 這個屬性是唯讀的。

Item[String]

指定資料行名稱,以其原生格式傳回指定資料行的值。 這個屬性是唯讀的。

Item[Int32]

來源:
DbDataRecord.cs
來源:
DbDataRecord.cs
來源:
DbDataRecord.cs

指定資料行序數,以其原生格式傳回指定資料行的值。 這個屬性是唯讀的。

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

參數

i
Int32

資料行序數。

屬性值

指定資料行的值,以其原生格式表示。

實作

另請參閱

適用於

Item[String]

來源:
DbDataRecord.cs
來源:
DbDataRecord.cs
來源:
DbDataRecord.cs

指定資料行名稱,以其原生格式傳回指定資料行的值。 這個屬性是唯讀的。

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

參數

name
String

資料行名稱。

屬性值

指定資料行的值,以其原生格式表示。

實作

另請參閱

適用於