The vendee shall in such cases, for the purpose of the foreclosure, be treated as a mortgagor of the property purchased, and the vendeeās rights may be foreclosed in a similar manner.
________________________________________________________________________