Table of Contents

Method GetColumns

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

GetColumns(SLProtocol, int, IEnumerable<uint>)

Retrieves the values of the columns with the specified tablePid and columnsIdx.

public static object[] GetColumns(this SLProtocol protocol, int tablePid, IEnumerable<uint> columnsIdx)

Parameters

protocol SLProtocol

Link with SLProtocol process.

tablePid int

The ID of the table parameter.

columnsIdx IEnumerable<uint>

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

Returns

object[]

The values of the retrieved columns.

Exceptions

ArgumentNullException

columnsIdx is null.