Navigation
API > API/Developer > API/Developer/CollectionManager > API/Developer/CollectionManager/ICollectionManager
References
| Module | CollectionManager |
| Header | /Engine/Source/Developer/CollectionManager/Public/ICollectionManager.h |
| Include | #include "ICollectionManager.h" |
bool RenameCollection
&40;
FName CurrentCollectionName,
ECollectionShareType::Type CurrentShareType,
FName NewCollectionName,
ECollectionShareType::Type NewShareType
&41;
Remarks
Renames a collection. A .collection file will be added to disk and a .collection file will be removed. true if the rename was successful. If false, GetLastError will return a human readable string description of the error.
Parameters
| Name | Description |
|---|---|
| CurrentCollectionName | The current name of the collection. |
| CurrentShareType | The current way the collection is shared. |
| NewCollectionName | The new name of the collection. |
| NewShareType | The new way the collection is shared. |