FindByClassId searches the passed ClassId in the Items collection.
Returns the index, if a match is found, otherwise 0.