Navigation
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 CanRename ( const [FString](API\Runtime\Core\Containers\FString) * InNewName, [FText](API\Runtime\Core\Internationalization\FText) * OutErrorMsg ) const
Remarks
Query whether this item is can be renamed, optionally providing error information if it cannot. True if the item can be renamed, false otherwise.
Parameters
Name | Description |
---|---|
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. |