Trump made the promise in front of an assembled meeting of Latin American leaders.