public method O2GAccountsTableResponseReader.getRow
Brief
Gets a row from the Accounts 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 Accounts table [hide]
O2GResponseReaderFactory readerFactory = mSession.getResponseReaderFactory();
if (readerFactory != null)
{
O2GLoginRules loginRules = mSession.getLoginRules();
O2GResponse accountsResponse = loginRules.getTableRefreshResponse(O2GTableType.Accounts);
O2GAccountsTableResponseReader reader = readerFactory.createAccountsTableReader(accountsResponse);
for (int i = 0; i < reader.Count; i++)
{
O2GAccountRow row = reader.getRow(i);
Console.WriteLine("AccountID={0}, AccountKind={1}, Balance={2}, AmountLimit={3}", row.AccountID, row.AccountKind, row.Balance, row.AmountLimit);
}
}
Declared in O2GAccountsTableResponseReader