Thin two- and three-layered ferromagnetic metal (F)/superconductor (S) structures (F/S and F/S/F) in an external constant magnetic field H parallel to the F/S interface plane are investigated in the framework of the Usadel equations for the dirty limit. The thicknesses of layers F (df) and S (ds) are supposed as being much less than the magnetic-penetration depth (λH). For the F/S and F/S/F systems the transition temperature T c is calculated as a function of df taking into account an interaction of H with the orbital motion of the conduction electrons. It is shown that magnetic field H not only suppresses the superconductivity of the S/F and F/S/F heterostructures, but it also deepens the minima of T c(df) and alters significantly the form...