UContentBrowserAssetDataSource::TryGetCollectionId

Attempt to retrieve the identifier that should be used when storing a reference to the given item within a collection.

Windows
MacOS
Linux

Override Hierarchy

UContentBrowserDataSource::TryGetCollectionId()

UContentBrowserAssetDataSource::TryGetCollectionId()

References

Module

ContentBrowserAssetDataSource

Header

/Engine/Plugins/Editor/ContentBrowser/ContentBrowserAssetDataSource/Source/ContentBrowserAssetDataSource/Public/ContentBrowserAssetDataSource.h

Include

#include "ContentBrowserAssetDataSource.h"

Source

/Engine/Plugins/Editor/ContentBrowser/ContentBrowserAssetDataSource/Source/ContentBrowserAssetDataSource/Private/ContentBrowserAssetDataSource.cpp

Syntax

virtual bool TryGetCollectionId
(
    const FContentBrowserItemData & InItem,
    FName & OutCollectionId
)

Remarks

Attempt to retrieve the identifier that should be used when storing a reference to the given item within a collection.

Returns

True if the ID was retrieved, false otherwise.

Parameters

Parameter

Description

InItem

The item to query.

InOutStr

The collection ID to fill.

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