If I 'member correctly:

M stands for metric.

2 is the diameter (2mm)

6 is the thread pitch