i | (Long) Array index (zero-based index). |
---|---|
j | [optional] (Long) Array index (zero-based index).
In case of the 1-dimensional array the parameter is not used or its value is -1. See (Col,Row) - 2-dimensional array meaning an array of rows. |
var arr = Pm.CreatePmArray().Array1(10, 20, 30, 40);
var val = arr.GetItem(1);
// val = 20
var arr = Pm.CreatePmArray(2, 3, 5);
arr.SetItem("Test", 0, 2);
var val = arr.GetItem(0, 2);
// val = Test