The United States came out victorious by a score of 12½ to 11½.
Mc Ilroy made his first appearance in a European Tour event a few days after turning 16, when he took part in the 2005 British Masters.
He had a successful amateur career, topping the World Amateur Golf Ranking for one week as a 17-year-old in 2007.
In 2011 at the age of 22, he became the youngest player ever to reach €10 million in career earnings on the European Tour.
He was world number one in the Official World Golf Ranking for 95 weeks.
He is a four-time major champion, winning the 2011 U.
He made the cut on the European Tour for the first time as a 17-year-old at the 2007 Dubai Desert Classic, where he had to forego prize money of over €7,600 due to his amateur status.
At the 2007 Open Championship, held at Carnoustie, Mc Ilroy was awarded The Silver Medal as the leading amateur.