A class of septuple-atomic-layer two-dimensional (2D) materials, MoSi2N4 and WSi2N4, was fabricated recently, and the three constituent atoms may be replaced by other elements in the Periodic Table, thus forming a large family. In the current work, using density functional theory calculations, we systematically investigate 18 MSi2N4 (where M denotes groups IV-B, V-B, and VI-B transition metals) monolayers in both H-and T-phases for their stabilities and their electronic, magnetic, and spintronic properties, and we highlight the spintronic properties and their van der Waals heterostructures. The electronic and magnetic properties of these 2D monolayers are correlated with the d-levels splitting (from crystal field and exchange field) and electron filling. Spin-dependent band alignment of MSi2N4 heterostructures shows that most of them are type II heterostructures for both spin channels. In addition, the valence-band edge of seven MSi2N4 monolayers resides at the Brillouin zone center (I'-point), which may form momentum-matched heterostructures by stacking with other 2D semiconductors. The ferromagnetic semiconductors (H-VSi2N4, H-NbSi2N4, and H-TaSi2N4) and the heterostructures composed of them (e.g., H-MoSi2N4/H-VSi2N4 or H-WSi2N4/H-VSi2N4) can be a half-semiconductor or half-metal. These results, in addition to the literature reporting high Curie temperatures, indicate that MSi2N4 and their heterostructures are promising for room-temperature spintronics and optoelectronics.