Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FInstancedPropertyBag
Description
Adds properties to the bag. If property of same name already exists, it will be replaced with the new type. Numeric property values will be converted if possible, when a property's type changes.
| Name | AddProperties |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/PropertyBag.h |
| Include Path | #include "StructUtils/PropertyBag.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/StructUtils/PropertyBag.cpp |
EPropertyBagAlterationResult AddProperties
(
const TConstArrayView< FPropertyBagPropertyDesc > Descs,
bool bOverwrite
)
The result of the alteration.
Parameters
| Name | Remarks |
|---|---|
| Descs | Descriptors of new properties to add. |
| bOverwrite | Overwrite the property if it already exists. |