Navigation
Unreal Engine C++ API Reference > Editor > ContentBrowserData > UContentBrowserDataSource
- UContentBrowserDataSource::CanSaveItem()
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 CanSaveItem ( const [FContentBrowserItemData](API\Editor\ContentBrowserData\FContentBrowserItemData) & InItem, const EContentBrowserItemSaveFlags InSaveFlags, [FText](API\Runtime\Core\Internationalization\FText) * OutErrorMsg )
Remarks
Query whether the given item is can be saved, optionally providing error information if it cannot. True if the item can be saved, false otherwise.
Parameters
Name | Description |
---|---|
InItem | The item to query. |
InSaveFlags | Flags controlling the rules behind when the item should be saved. |
OutErrorMessage | Optional error message to fill on failure. |