Navigation
API > API/Developer > API/Developer/CollectionManager > API/Developer/CollectionManager/ICollectionContainer
Description
Renames a collection. A .collection file will be added to disk and a .collection file will be removed.
| Name | RenameCollection |
| Type | function |
| Header File | /Engine/Source/Developer/CollectionManager/Public/ICollectionContainer.h |
| Include Path | #include "ICollectionContainer.h" |
bool RenameCollection
(
FName CurrentCollectionName,
ECollectionShareType::Type CurrentShareType,
FName NewCollectionName,
ECollectionShareType::Type NewShareType,
FText * OutError
)
true if the rename was successful.
Parameters
| Name | Remarks |
|---|---|
| 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. |
| OutError | Optional human readable explanation of why the operation failed |