typedef T = ( string^ type, int x, int y, ); serialization_info x for T; // or serialization_info x for T(:type = 1, :x) with (string^ = 1, int);