This is a rotary switch that connects a common (COM) pin with one out of 9 pins. This is a through-hole component and thus this sub-board can only be used on the edge of a pegboard, either immediately above or below the pegboard.