UContentBrowserDataSource::CanCopyItem

Query whether the given item is can be copied, optionally providing error information if it cannot.

Windows
MacOS
Linux

Override Hierarchy

References

Module

ContentBrowserData

Header

/Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSource.h

Include

#include "ContentBrowserDataSource.h"

Source

/Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSource.cpp

Syntax

virtual bool CanCopyItem
(
    const FContentBrowserItemData & InItem,
    const FName InDestPath,
    FText * OutErrorMsg
)

Remarks

Query whether the given item is can be copied, optionally providing error information if it cannot.

Returns

True if the item can be copied, false otherwise.

Parameters

Parameter

Description

InItem

The item to query.

InDestPath

The virtual path that the item will be copied to.

OutErrorMessage

Optional error message to fill on failure.

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