Yes, if you attach that to wood, you would want to use a wood screw
If you want to use it for metal, you should use machining screws (bolts), nuts, and washers. The tighter the fit, the better it will hold as long as you attach to the frame of the structure.