ICollectionManager::RenameCollection

Renames a collection.

Windows
MacOS
Linux

References

Module

CollectionManager

Header

/Engine/Source/Developer/CollectionManager/Public/ICollectionManager.h

Include

#include "ICollectionManager.h"

Syntax

bool RenameCollection
(
    FName CurrentCollectionName,
    ECollectionShareType::Type CurrentShareType,
    FName NewCollectionName,
    ECollectionShareType::Type NewShareType
)

Remarks

Renames a collection. A .collection file will be added to disk and a .collection file will be removed.

Returns

true if the rename was successful. If false, GetLastError will return a human readable string description of the error.

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss