Navigation
API > API/Editor > API/Editor/ContentBrowserData > API/Editor/ContentBrowserData/UContentBrowserDataSource
- UContentBrowserDataSource::CanCopyItem()
- UContentBrowserFileDataSource::CanCopyItem()
- UContentBrowserAssetDataSource::CanCopyItem()
References
| Module | ContentBrowserData |
| Header | /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSource.h |
| Include | #include "ContentBrowserDataSource.h" |
| Source | /Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSource.cpp |
virtual bool CanCopyItem
&40;
const FContentBrowserItemData & InItem,
const FName InDestPath,
FText &42; OutErrorMsg
&41;
Remarks
Query whether the given item is can be copied, optionally providing error information if it cannot. True if the item can be copied, false otherwise.
Parameters
| Name | 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. |