UContentBrowserFileDataSource::CanMoveItem

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

Windows
MacOS
Linux

Override Hierarchy

UContentBrowserDataSource::CanMoveItem()

UContentBrowserFileDataSource::CanMoveItem()

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 CanMoveItem
(
    const FContentBrowserItemData & InItem,
    const FName InDestPath,
    FText * OutErrorMsg
)

Remarks

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

Returns

True if the item can be moved, false otherwise.

Parameters

Parameter

Description

InItem

The item to query.

InDestPath

The virtual path that the item will be moved 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