How to override a parent component in UE4 C++?

Thank you! So how to use it in my code?