Vector4.Item[Int32] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在指定的索引位置上取得或設定項目。
public:
property float default[int] { float get(int index); void set(int index, float value); };
public float this[int index] { get; set; }
member this.Item(int) : single with get, set
Default Public Property Item(index As Integer) As Single
- index
- Int32
要取得或設定的項目之索引。
位於的專案 index
。
index
小於零或大於項目的數目。
適用於
產品 | 版本 |
---|---|
.NET | 7, 8, 9, 10 |