public method O2GOffersTable.findRow
Brief
Finds a row in the O2GOffersTable table by an OfferID.
| Declaration | ||||
|
||||
| Parameters | |
id |
The unique identification number of an 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 offer by OfferID [hide]
public O2GOfferTableRow FindOfferByID(string sOfferID)
{
O2GOffersTable offers = (O2GOffersTable)mTblMgr.getTable(O2GTableType.Offers);
O2GOfferTableRow offer = null;
if (offers.findRow(sOfferID, out offer))
return offer;
else
return null;
}
Declared in O2GOffersTable