UContentBrowserDataSource::CanDeleteItem

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

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

  • UContentBrowserDataSource::CanDeleteItem()

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

Remarks

Query whether the given item is can be deleted, optionally providing error information if it cannot. True if the item can be deleted, 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