How to use switch with missle cover.

Hi, I have this missile switch (Toggle Switch and Cover - Illuminated (Red) - COM-11310 - SparkFun Electronics). It has a ground, power, and led power pin. I am so confused on how this works because I thought that a switch seperated two contacts. i.e plug ground of device you want to power to one pin and the ground to your microcontroller or power source and it works that way? How would one hook this up? thanks.

Did you take a look at the first two comments on the product page you linked to?