Method GetRow
GetRow(int, int)
Gets the row data of the specified row in the specified table.
Note that this method should not be used. Using GetRow(int, string) instead is highly recommended.
object GetRow(int iPID, int iRow)
Parameters
Returns
- object
The row data.
Examples
object[] row = (object[]) protocol.GetRow(34000, 1);
Remarks
- This is a wrapper method for the NotifyProtocol type 215 NT_GET_ROW call.
- In case the table does not contain a row on the specified index or with the specified primary key, an object array containing null references is returned.
- In case the protocol does not contain a table parameter with specified ID or the table does not contain a row with the provided primary key, the following message is logged: “NT_GET_ROW for [tableID]/[rowIndex or primaryKey] failed. 0x80040239”.
GetRow(int, string)
Gets the row data of the specified row in the specified table.
object GetRow(int iPID, string key)
Parameters
Returns
- object
The row data.
Examples
object[] row = (object[]) protocol.GetRow(34000, "Row 1");
Remarks
- This is a wrapper method for the NotifyProtocol type 215 NT_GET_ROW call.
- In case the table does not contain a row on the specified index or with the specified primary key, an object array containing null references is returned.
- In case the protocol does not contain a table parameter with specified ID or the table does not contain a row with the provided primary key, the following message is logged: “NT_GET_ROW for [tableID]/[rowIndex or primaryKey] failed. 0x80040239”.