Table of Contents

Method Row

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

Row(object, int)

Gets a row from the specified table.

object Row(object theArray, int iRow)

Parameters

theArray object

The table from which a row must be retrieved.

iRow int

The 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); ////... } }