TraceReader.Item[] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得指定的欄位。
多載
| 名稱 | 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
參數
屬性值
一個 Object 系統物件值,用來指定欄位。
實作
範例
適用於
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
參數
屬性值
一個 Object 系統物件值,用來指定欄位。