Navigation
API > API/Developer > API/Developer/CollectionManager > API/Developer/CollectionManager/ICollectionManager > API/Developer/CollectionManager/ICollectionManager/IsObjectInCollection
References
| Module | CollectionManager |
| Header | /Engine/Source/Developer/CollectionManager/Public/ICollectionManager.h |
| Include | #include "ICollectionManager.h" |
bool IsObjectInCollection
&40;
const FSoftObjectPath & ObjectPath,
FName CollectionName,
ECollectionShareType::Type ShareType,
ECollectionRecursionFlags::Flags RecursionMode
&41; const
Remarks
Check to see if the given object exists in the given collection true if the object is in the collection.
Parameters
| Name | Description |
|---|---|
| ObjectPath | The object to test for its existence in the collection. |
| CollectionName | The collection to test. |
| ShareType | The way the collection is shared. |