Overwriting a c++ class with a blueprint derived

I was thinking that if I derive a blueprint from the UZ_TXDATA class, then it should be allowed by polymorphism, but I guess not