UContentBrowserFileDataSource::CanEditItem

Query whether the given item is can be edited, optionally providing error information if it cannot.

Windows
MacOS
Linux

Override Hierarchy

UContentBrowserDataSource::CanEditItem()

UContentBrowserFileDataSource::CanEditItem()

References

Module

ContentBrowserFileDataSource

Header

/Engine/Plugins/Editor/ContentBrowser/ContentBrowserFileDataSource/Source/ContentBrowserFileDataSource/Public/ContentBrowserFileDataSource.h

Include

#include "ContentBrowserFileDataSource.h"

Source

/Engine/Plugins/Editor/ContentBrowser/ContentBrowserFileDataSource/Source/ContentBrowserFileDataSource/Private/ContentBrowserFileDataSource.cpp

Syntax

virtual bool CanEditItem
(
    const FContentBrowserItemData & InItem,
    FText * OutErrorMsg
)

Remarks

Query whether the given item is can be edited, optionally providing error information if it cannot.

Returns

True if the item can be edited, false otherwise.

Parameters

Parameter

Description

InItem

The item to query.

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