Multimeters often have more than two connections, and part of "telling" the multimeter what to measure (that is, whether to be a voltmeter or an amperemeter) is done by choosing the right two connections. This is explained in the manual for the multimeter, and often shown next to the connection points.