How to change the file name in ContentBrowser in a project by c++ coding?

As above,do ue4 have some function in c++ to acheive it?

I don’t know if it can be done in C++, but I found some documentation regarding the UE4/Python library that has a function that can rename assets: unreal.AssetRenameData — Unreal Python 4.26 (Experimental) documentation. Maybe it can help you, or point you in the right direction.

I also found this: Rename Asset | Unreal Engine Documentation. It is a Blueprint function, but you can find the function code as well and see what it does.

Edit: There is also this: UObject::Rename | Unreal Engine Documentation

oh,thank you very much!