单项选择题

He came to inspect the house ______ buying it.

A. in the event of
B. with a view to
C. on account of
D. with reference to