Table of Contents

Method GetCell

Namespace
Skyline.DataMiner.Utils.Protocol.Extension
Assembly
Skyline.DataMiner.Utils.Protocol.Extension.dll

GetCell(SLProtocol, int, string, int)

Retrieves a cell from a table with the specified tablePid, rowPK and the columnIdx.

public static object GetCell(this SLProtocol protocol, int tablePid, string rowPK, int columnIdx)

Parameters

protocol SLProtocol

Link with SLProtocol process.

tablePid int

The ID of the table parameter.

rowPK string

The primary key of the row.

columnIdx int

The 0-based position of the column, corresponding to the idx as defined in protocol.xml file.

Returns

object

The value of the cell.

Remarks

    Exceptions

    ArgumentNullException

    rowPK is null.