| UContentBrowserDataSource::CanRenameItem()
|
Module |
|
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 & InItem,
const FString * InNewName,
FText * OutErrorMsg
)
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.
Parameter |
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. |