語言

TraceReader.Item[] 屬性

定義

取得指定的欄位。

多載

名稱 Description
Item[Int32]

取得索引位置指定的欄位。

Item[String]

取得指定名稱的欄位。

Item[Int32]

取得索引位置指定的欄位。

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

參數

index
Int32

一個 Int32 指定記錄中欄位索引位置的值。

屬性值

一個 Object 系統物件值,用來指定欄位。

實作

範例

Readme_Tracer

適用於

Item[String]

取得指定名稱的欄位。

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

參數

name
String

一個 String 指定欄位名稱的值。

屬性值

一個 Object 系統物件值,用來指定欄位。

實作

範例

Readme_Tracer

適用於