Navigation
Unreal Engine C++ API Reference > Editor > ContentBrowserData > UContentBrowserDataSource
- UContentBrowserDataSource::CanRenameItem()
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 CanRenameItem ( const [FContentBrowserItemData](API\Editor\ContentBrowserData\FContentBrowserItemData) & InItem, const [FString](API\Runtime\Core\Containers\FString) * InNewName, [FText](API\Runtime\Core\Internationalization\FText) * OutErrorMsg )
Remarks
Query whether the given item is can be renamed, optionally providing error information if it cannot. True if the item can be renamed, false otherwise.
Parameters
Name | Description |
---|---|
InItem | The item to query. |
InNewName | Optional name that will be tested for validity alongside the general ability to rename this item. |
OutErrorMessage | Optional error message to fill on failure. |