已不再支援此瀏覽器。
請升級至 Microsoft Edge,以利用最新功能、安全性更新和技術支援。
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從位於指定零基索引的唯讀範圍取得項目。
public: property T& ^ default[int] { T& ^ get(int index); };
public ref readonly T this[int index] { get; }
member this.Item(int) : 'T
Default Public ReadOnly Property Item(index As Integer) As T
要取得之項目的以零為起始的索引。
唯讀範圍中的 專案。
index 小於零,或是大於或等於 Length。
index