public method O2GAccountsTable.getNextRow
Brief
Gets the next row from the O2GAccountsTable.
| Declaration | ||||
|
||||
| Parameters | |
iterator |
The table iterator. |
row |
[out] The row fetched. |
Details
If the row is not found, the method returns false.
Note: The returned row contains the current values of fields. The values are not automatically updated. To monitor changes, use IO2GTableListener.onChanged.
The row interface is thread-safe. One can use the returned row in different threads without synchronization.
Example
Get the next row from the Accounts table [hide]
O2GAccountsTable accounts = (O2GAccountsTable)tableMgr.getTable(O2GTableType.Accounts);
O2GTableIterator iterator = new O2GTableIterator();
O2GAccountTableRow account = null;
while (accounts.getNextRow(iterator, out account))
Console.WriteLine("AccountID={0}, AccountName={1}, Equity={2}, GrossPL={3}", account.AccountID, account.AccountName, account.Equity, account.GrossPL);
Declared in O2GAccountsTable