แก้ไข

แชร์ผ่าน


Matrix4x4.Item[Int32, Int32] Property

Definition

Gets or sets the element at the specified indices.

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

Parameters

row
Int32

The index of the row containing the element to get or set.

column
Int32

The index of the column containing the element to get or set.

Property Value

The element at [row][column].

Exceptions

row was less than zero or greater than the number of rows.

-or-

column was less than zero or greater than the number of columns.

Applies to