public method O2GOffersTableResponseReader.getRow
Brief
Gets a row from the Offers 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 Offers table [hide]
O2GResponseReaderFactory factory = mSession.getResponseReaderFactory(); if (factory != null) { O2GLoginRules loginRules = mSession.getLoginRules(); O2GResponse offersResponse = loginRules.getTableRefreshResponse(O2GTableType.Offers); O2GOffersTableResponseReader reader = factory.createOffersTableReader(offersResponse); for (int i = 0; i < reader.Count; i++) { O2GOfferRow row = reader.getRow(i); Console.WriteLine("OfferID={0}, Instrument={1}, Ask={2}, Bid={3}", row.OfferID, row.Instrument, row.Ask, row.Bid); } }
Declared in O2GOffersTableResponseReader