public method O2GMessagesTableResponseReader.getRow
Brief
Gets a row from the Messages table.
| Declaration | ||||
|
||||
| Parameters | |
index |
The index of the row. The index must be between |
Details
If the row is not found, the method returns null.
Example
Get rows from the Messages table [hide]
O2GResponseReaderFactory factory = mSession.getResponseReaderFactory();
if (factory != null)
{
O2GLoginRules loginRules = mSession.getLoginRules();
O2GResponse messagesResponse = loginRules.getTableRefreshResponse(O2GTableType.Messages);
O2GMessagesTableResponseReader reader = factory.createMessagesTableReader(messagesResponse);
for (int i = 0; i < reader.Count; i++)
{
O2GMessageRow row = reader.getRow(i);
Console.WriteLine("MsgID={0}, From={1}, To={2}", row.MsgID, row.From, row.To);
}
}
Declared in O2GMessagesTableResponseReader