Method Row
Row(object, int)
Gets a row from the specified table.
object Row(object theArray, int iRow)
Parameters
theArray
objectThe table from which a row must be retrieved.
iRow
intThe 0-based row index in the table.
Returns
- object
The row data.
Examples
In the following example parameter 1000 represents a table:
<QAction id = "100" name = "Row Method Example" encoding = "csharp" triggers = "500" inputParameters = "1000">
using Skyline.DataMiner.Scripting;
public class QAction
{
public static void Run(SLProtocol protocol)
{
object table = protocol.GetInputParameter(0);
object[] rowData = (object[])protocol.Row(table, 0);
////...
}
}