FContentBrowserItem::CanSave

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

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

References

   
Module ContentBrowserData
Header /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserItem.h
Include #include "ContentBrowserItem.h"
Source /Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserItem.cpp
bool CanSave
(
    const EContentBrowserItemSaveFlags InSaveFlags,
    [FText](API\Runtime\Core\Internationalization\FText) * OutErrorMsg
) const

Remarks

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

Parameters

Name Description
InSaveFlags Flags controlling the rules behind when the item should be saved.
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