Depends on the level of Mode S installation you have. With Mode S Enhanced Surveillance one of the things transmitted is Altitude Target, which would be your dialed in altitude in the mode control panel or whatever it is called on your type.
As far as i know mode s enhanced surveillance is mandatory in germany, france and the UK for commercial IFR operation.
More info can be found at
EUROCONTROL - Mode S Homepage