Navigation
API > API/Developer > API/Developer/CollectionManager > API/Developer/CollectionManager/ICollectionManager
Description
Save the collection (if dirty) and check it into source control (if under SCC control)
Note: Generally you won't need to save collections manually as the collection manager takes care of that as objects and added/removed, etc. however, you may want to manually save a collection if a previous save attempt failed (and you've since corrected the issue), or if the collection contains redirected object references that you'd like to save to disk.
| Name | SaveCollection |
| Type | function |
| Header File | /Engine/Source/Developer/CollectionManager/Public/ICollectionManager.h |
| Include Path | #include "ICollectionManager.h" |
bool SaveCollection
(
FName CollectionName,
ECollectionShareType::Type ShareType,
FText * OutError
)
true if the save was successful.
Parameters
| Name | Remarks |
|---|---|
| CollectionName | The collection to save |
| ShareType | The way the collection is shared. |
| OutError | Optional human readable explanation of why the operation failed |