public method O2GSummaryTable.findRow
Brief
Finds a row in the O2GSummaryTable
by an OfferID.
Declaration | ||||
|
Parameters | |
id |
The unique identifier of a traded instrument. |
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
Find summary by OfferID [hide]
public O2GSummaryTableRow FindSummaryByID(string sOfferID) { O2GSummaryTable summaries = (O2GSummaryTable)mTblMgr.getTable(O2GTableType.Summary); O2GSummaryTableRow summary = null; if (summaries.findRow(sOfferID, out summary)) return summary; else return null; }
Declared in O2GSummaryTable