You are correct!
From our dictionary:
syn•ec•do•che (lsi-nek'du-kē), —n. Rhet. a figure of speech in which a part is used for the whole or the whole for a part, the special for the general or the general for the special, as in ten sail for ten ships or a Croesus for a rich man.
About Infoplease, Part of Family Education Network
© 2000–2014 Pearson Education, publishing as Infoplease