public method O2GMessagesTable.getRow

Brief

Gets a row from the O2GMessagesTable by its index.

Declaration
C#
O2GMessageTableRow  getRow (int index)

Parameters
index

The index of the row. The index must be between 0 and Count - 1.

Details

If the row is not found, the method returns null.

Example

Get rows from the Messages table [hide]

    O2GMessagesTable messages = mTblMgr.getTable(O2GTableType.Messages);
    try
    {
        mTblMgr.lockUpdates();
        for(int ii=0; ii<messages.Count;i++)
        {
            O2GmessageTableRow message = messages.getRow(ii);
            Console.WriteLine("MsgID={0}, From={1}, To={2}", message.MsgID, message.From, message.To);
        }
    }
    finally
    {
        mTblMgr.unlockUpdates();
    }

Declared in O2GMessagesTable

back