Navigation
API > API/Plugins > API/Plugins/ContentBrowserFileDataSource > API/Plugins/ContentBrowserFileDataSource/UContentBrowserFileDataSource
- UContentBrowserDataSource::CanCopyItem()
- UContentBrowserFileDataSource::CanCopyItem()
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 |
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. |