Method GetColumns
- 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
protocolSLProtocolLink with SLProtocol process.
tablePidintThe ID of the table parameter.
columnsIdxIEnumerable<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
columnsIdxis null.