Vector128<T>.Item[Int32] 屬性

定義

取得位在指定索引處的元素。

public:
 property T default[int] { T get(int index); };
public T this[int index] { get; }
member this.Item(int) : 'T
member this.Item(int) : 'T
Default Public ReadOnly Property Item(index As Integer) As T

參數

index
Int32

要取得的項目索引。

屬性值

T

位於 index 的項目值。

例外狀況

index 小於零或大於項目的數目。

不支援向量 (T) 的類型。

適用於