This Black Double Pole In Line Switch is designed to be added to the flex of a table lamp.
The In Line Switch has a terminal for Earth wires with the Live and Neutral wires being connected to the switch part.
There is a cord grip in each end of the In Line Switch.
Please take care as this switch is small and it can be tricky to get the wires in neatly.