How to set the widget class to none in c++

It’s the UWidgetComponent. I’m trying to set a widget BP for the widget class of the widget component.