UContentBrowserFileDataSource::DuplicateItem

Attempt to begin the process of asynchronously duplicating the given item, populating a temporary item that can be finalized or canceled by the user.

Windows
MacOS
Linux

Override Hierarchy

UContentBrowserDataSource::DuplicateItem()

UContentBrowserFileDataSource::DuplicateItem()

References

Module

ContentBrowserFileDataSource

Header

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

Include

#include "ContentBrowserFileDataSource.h"

Source

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

Syntax

virtual bool DuplicateItem
(
    const FContentBrowserItemData & InItem,
    FContentBrowserItemDataTemporaryContext & OutPendingItem
)

Remarks

Attempt to begin the process of asynchronously duplicating the given item, populating a temporary item that can be finalized or canceled by the user. @note This duplicates the item at its current path and assigns it a default unique name.

Returns

True if the pending item was created, false otherwise.

Parameters

Parameter

Description

InItem

The item to duplicate.

OutPendingItem

Temporary item context to fill with information about the pending duplicated item.

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