Matrix3x2.Item[] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| Item[Int32] |
取得或設定該列在指定的索引。 |
| Item[Int32, Int32] |
取得或設定元素在指定的索引位置。 |
Item[Int32]
- 來源:
- Matrix3x2.cs
- 來源:
- Matrix3x2.cs
取得或設定該列在指定的索引。
public:
property System::Numerics::Vector2 default[int] { System::Numerics::Vector2 get(int row); void set(int row, System::Numerics::Vector2 value); };
public System.Numerics.Vector2 this[int row] { get; set; }
member this.Item(int) : System.Numerics.Vector2 with get, set
Default Public Property Item(row As Integer) As Vector2
參數
- row
- Int32
要取得或設定的列索引。
屬性值
索引列:[row]。
例外狀況
row 小於零或大於等於行數(3)。
適用於
Item[Int32, Int32]
- 來源:
- Matrix3x2.cs
- 來源:
- Matrix3x2.cs
- 來源:
- Matrix3x2.cs
- 來源:
- Matrix3x2.cs
- 來源:
- Matrix3x2.cs
取得或設定元素在指定的索引位置。
public:
property float default[int, int] { float get(int row, int column); void set(int row, int column, float value); };
public float this[int row, int column] { get; set; }
member this.Item(int * int) : single with get, set
Default Public Property Item(row As Integer, column As Integer) As Single
參數
- row
- Int32
包含要取得或設定元素的列索引。
- column
- Int32
包含要取得或設定元素的欄位索引。
屬性值
位於 [row][column] 的元素。