Can you explain what you want further? You want Z (M), meaning altitude? Well generally a field to hold the third piece of information regarding what you are collecting?
If you want altitude from the GPS, you can add a field in your feature class called Altitude, and program to get the atltitude of the point and set the altitude field with that value.
There is a sample on how to do it.