No, "Direct Foreign Investment" specifically excludes portfolio investments in the stock market. It is more reflective of ownership control of specific businesses, and capital investment in the plant and equipment to operate them. Examples would be when a foreign company purchases a business directly from a domestic company, whether it is a factory or a shopping mall. It is NOT the stock market.
come to think of it-- didn't china pass the
US in direct foreign investment a couple years ago?