語言

DbDataRecord.Item[] 屬性

定義

以本體格式表示欄位的該值。 這個屬性是唯讀的。

多載

名稱 Description
Item[Int32]

表示指定欄位在該欄位的本體格式中,根據欄位序數的定義。 這個屬性是唯讀的。

Item[String]

以欄位名稱表示指定欄位的本體格式值。 這個屬性是唯讀的。

Item[Int32]

來源:
DbDataRecord.cs
來源:
DbDataRecord.cs
來源:
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
來源:
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

數據行名稱。

屬性值

指定欄位的值以原生格式呈現。

實作

另請參閱

適用於