Share via


CurrentValueRecord.Item[] 屬性

定義

多載

Item[Int32]

傳回具有給定欄位序數的值。

Item[String]

取得具有給定欄位名稱的值。

Item[Int32]

傳回具有給定欄位序數的值。

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

參數

ordinal
Int32

欄位的序數。

屬性值

欄位值。

實作

適用於

Item[String]

取得具有給定欄位名稱的值。

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

參數

name
String

欄位的名稱。

屬性值

欄位值。

實作

適用於