UContentBrowserDataSource::CanEditItem

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

Unreal Engine C++ API Reference > Editor > ContentBrowserData > UContentBrowserDataSource

  • UContentBrowserDataSource::CanEditItem()

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 CanEditItem
(
    const [FContentBrowserItemData](API\Editor\ContentBrowserData\FContentBrowserItemData) & InItem,
    [FText](API\Runtime\Core\Internationalization\FText) * OutErrorMsg
)

Remarks

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

Parameters

Name Description
InItem The item to query.
OutErrorMessage Optional error message to fill on failure.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library