UContentBrowserAssetDataSource::CanSaveItem

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

Windows
MacOS
Linux

Override Hierarchy

UContentBrowserDataSource::CanSaveItem()

UContentBrowserAssetDataSource::CanSaveItem()

References

Module

ContentBrowserAssetDataSource

Header

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

Include

#include "ContentBrowserAssetDataSource.h"

Source

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

Syntax

virtual bool CanSaveItem
(
    const FContentBrowserItemData & InItem,
    const EContentBrowserItemSaveFlags InSaveFlags,
    FText * OutErrorMsg
)

Remarks

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

Returns

True if the item can be saved, false otherwise.

Parameters

Parameter

Description

InItem

The item to query.

InSaveFlags

Flags controlling the rules behind when the item should be saved.

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