Navigation
API > API/Editor > API/Editor/ContentBrowserData > API/Editor/ContentBrowserData/UContentBrowserDataSource
Description
Attempt to begin the process of asynchronously duplicating the given item, populating a temporary item that can be finalized or canceled by the user.
This duplicates the item at its current path and assigns it a default unique name.
| Name | DuplicateItem |
| Type | function |
| Header File | /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSource.h |
| Include Path | #include "ContentBrowserDataSource.h" |
| Source | /Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSource.cpp |
virtual bool DuplicateItem
(
const FContentBrowserItemData & InItem,
FContentBrowserItemDataTemporaryContext & OutPendingItem
)
True if the pending item was created, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| InItem | The item to duplicate. |
| OutPendingItem | Temporary item context to fill with information about the pending duplicated item. |