FYI - that form is often referred to as a carriage bolt, though most of the ones used in woodworking have smooth, round heads. The unthreaded part acts as a bearing surface for what is being held, and the threads secure it to the mounting plate.
Cheers...Gary