How to modify UProperty attribute for Inherited variables?

Hey there

If there is a UObject set a variables as “EditAnywhere,BlueprintReadOnly”.

For this UObject’s ChildObject,if i can fix the variables’s attribute as “VisableAnywhere,BlueprintReadWrite”?
If modify it in the constructe of ChildObject?

I have find the solution for it.
First to get this FProperty,and second to clear its PorpertyFlag.

	if (FProperty* Property = FindFProperty<FBoolProperty>(this->GetClass(), "PropertyName"))
	{
		Property ->ClearPropertyFlags(CPF_Edit|CPF_BlueprintVisible);
	}

It will hidden the property in editor and make it can no be edit from blueprint.