FContentBrowserItem::CanRename

Query whether this item is can be renamed, optionally providing error information if it cannot.

Windows
MacOS
Linux

References

Module

ContentBrowserData

Header

/Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserItem.h

Include

#include "ContentBrowserItem.h"

Source

/Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserItem.cpp

Syntax

bool CanRename
(
    const FString * InNewName,
    FText * OutErrorMsg
) const

Remarks

Query whether this item is can be renamed, optionally providing error information if it cannot.

Returns

True if the item can be renamed, false otherwise.

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss