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 IsValidParentCollection
&40;
FName CollectionName,
ECollectionShareType::Type ShareType,
FName ParentCollectionName,
ECollectionShareType::Type ParentShareType
&41; const
Remarks
Check to see if the given collection is valid to be used as the parent of another collection. A collection may not be parented to itself, nor any of its current children. true if the parent is considered valid for this collection. If false, GetLastError will return a human readable string describing why the parent is invalid.
Parameters
| Name | Description |
|---|---|
| CollectionName | The name of the collection to check the parent of. |
| ShareType | The way the collection is shared. |
| ParentCollectionName | The name of the parent collection to test against. |
| ParentShareType | The way the new parent collection is shared. |