Metonymy is a trope or figure of speech in which the name of a thing is replaced by a name usually associated with the first.
When it is said that today the White House announced its decision to reject the budget proposed by Congress, the name of the building was used metonymically.
Synecdoche is an important type of metonymy, involving the substitution of either the name for some part of it or the part for the whole name.