Matrix4x4.Item[] 属性

定义

重载

Item[Int32]
Item[Int32, Int32]

获取或设置指定索引处的元素。

Item[Int32]

public:
 property System::Numerics::Vector4 default[int] { System::Numerics::Vector4 get(int row); void set(int row, System::Numerics::Vector4 value); };
public System.Numerics.Vector4 this[int row] { get; set; }
member this.Item(int) : System.Numerics.Vector4 with get, set
Default Public Property Item(row As Integer) As Vector4

参数

row
Int32

属性值

适用于

Item[Int32, Int32]

Source:
Matrix4x4.cs
Source:
Matrix4x4.cs
Source:
Matrix4x4.cs
Source:
Matrix4x4.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] 处的元素。

例外

row 小于零或大于行数。

-或-

column 小于零或大于列数。

适用于