IPropertyHandle::GetValueAsDisplayString

Gets the value formatted as a string, possibly using an alternate form more suitable for display in the UI

Windows
MacOS
Linux

References

Module

PropertyEditor

Header

/Engine/Source/Editor/PropertyEditor/Public/PropertyHandle.h

Include

#include "PropertyHandle.h"

Syntax

FPropertyAccess::Result GetValueAsDisplayString
(
    FString & OutValue,
    EPropertyPortFlags PortFlags
) const

Remarks

Gets the value formatted as a string, possibly using an alternate form more suitable for display in the UI

Returns

The result of attempting to get the value

Parameters

Parameter

Description

OutValue

String where the value is stored. Remains unchanged if the value could not be set

PortFlags

Property flags to determine how the string is retrieved. Defaults to PPF_PropertyWindow

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss