ResultPropertyValueCollection.Item[Int32] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
該 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
要檢索的屬性值的以零為基礎的索引。
屬性值
位於指定索引處的屬性值。
備註
在 C# 中,這個屬性就是類別的 ResultPropertyValueCollection 索引器。
在 JScript 中,你可以使用類型定義的預設索引屬性,但無法明確定義自己的屬性。 然而,在類別上指定 expando 屬性會自動提供預設的索引屬性,包含一個 Object 類型和一個索引類型 String。