public method O2GMessagesTable.findRow

Brief

Finds a row in the O2GMessagesTable by a MsgID.

Declaration
C#
bool  findRow (string id, out O2GMessageTableRow row)

Parameters
id

The unique identification number of a message. The number is unique within the same database that stores the account trader. For example, MINIDEMO or U100D1. The uniqueness of the message itself is ensured by the combination of the database ID and the value of this field.

row

[out] The row.

Details

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

Example

Find a message by a MsgID [hide]

    public O2GMessageTableRow FindMessageByID(string sMsgID)
    {
        O2GMessagesTable messages = mTblMgr.getTable(O2GTableType.Messages);
        O2GMessageTableRow message = null;
        if (messages.findRow(sMsgID, out messages))
            return messages;
        else
            return null;
    }

Declared in O2GMessagesTable

back