FContentBrowserItem::CanCopy

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

Unreal Engine C++ API Reference > Editor > ContentBrowserData > FContentBrowserItem

References

   
Module ContentBrowserData
Header /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserItem.h
Include #include "ContentBrowserItem.h"
Source /Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserItem.cpp
bool CanCopy
(
    const [FName](API\Runtime\Core\UObject\FName) InDestPath,
    [FText](API\Runtime\Core\Internationalization\FText) * OutErrorMsg
) const

Remarks

Query whether this item is can be copied, optionally providing error information if it cannot. True if the item can be copied, false otherwise.

Parameters

Name Description
InDestPath The virtual path that the item will be copied to.
OutErrorMessage Optional error message to fill on failure.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library