Example #1
0
    public CItem GetIteBySerialID(Int64 nSerialID)
    {
        for (int i = 0; i < m_Container.Count; i++)
        {
            CItem pItem = m_Container[i];
            if (pItem != null && pItem.GetItemID() == nSerialID)
            {
                return(pItem);
            }
        }

        return(null);
    }